Parse Arguments to C/C++ application in Debug (Atollic 9.3)
Hi
I'm trying to debug a Windows C application that was written using Atollic. It uses the gdb debugger.
The program has some options that have to be parsed into the program. I have entered the options into the "Arguments" tab in the run/debug configuration.
When I debug the program, the arguments are not being recognised by the application. After I added a print statement of the options I realised that quotation (') marks are being added around the arguments.
If I run the program in Atollic or directly in a command prompt the arguments are parsed correctly, and the program runs ok.
App.exe '-c' 'com9' '-s' 'firm.srec' '-l' 'list.txt' <------- Incorrect in debug
App.exe -c com9 -s firm.srec - l list.txt <------- Correctly run
Hope someone can help
Thanks
