Saturday, 17 August 2013

Program argument (has empty characters) break in pieces in the debugger

Program argument (has empty characters) break in pieces in the debugger

I have a program which needs seven arguments. The problem is that the
fifth argument has empty characters. So I put it in the "" and the program
runs.
The problem:
When I am try to use the debugger inside the eclipse the system put \"
instead of " . The result is the fifth argument is broken and I cannot use
the debugger...
here is what I have in the argument list
168815 blabla/ product_group_and_eshop_global_id blaee/test/test "products
in the211 1SEARCHtitle$$&lt" filename_mode
/src/cpp/test-pages/FrontLoad.html
And here what the eclipse print in the console
/bin/bash: -c: line 0: syntax error near unexpected token `<'
/bin/bash: -c: line 0: `exec /media/Debug/gcom_au 168815 blabla/
product_group_and_eshop_global_id blaee/test/test \"products in the211
1SEARCHtitle$$&lt\" filename_mode /src/cpp/test-pages/FrontLoad.html'

No comments:

Post a Comment