Index: debugger/dlgDirectDbg.cpp
===================================================================
--- debugger/dlgDirectDbg.cpp	(revision 8413)
+++ debugger/dlgDirectDbg.cpp	(working copy)
@@ -691,7 +691,7 @@
                 declareStatement += wxT(";\n");
                 query.Append(strParam + wxT(", "));
             }
-            else
+            else if (arg.getMode() != wxT("o"))
                 query.Append( arg.quoteValue() + wxT("::") + arg.getType() + wxT(", "));
         }
         else if(arg.getMode() == wxT("v"))