Code::Blocks Forums
User forums => Help => Topic started by: juzna.cz on August 09, 2012, 10:40:35 am
-
Hi,
I'd like to use CodeBlocks for debugging. With gdb, I can start directly to execute a command with arguments, like this:
gdb --args ls -la
Is the same possible with CodeBlocks? i.e. something like
codeblocks --args ls -la
would start CodeBlocks, spawn ls process with -la arguments and immediately attach to debug it?
Would be a much nicer way to debug with CodeBlocks GUI than in gdb's prompt.
Thanks
-
Add the arguments to your debug-target in "Project -> Set programs's arguments".