Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ahlongxp on October 05, 2006, 10:17:23 am
-
besides that, can we add agruments when excuting program in C::B?
-
Project menu -> Set Programs' arguments
-
What do you mean? If you debug a console program, a console is launched for it. Just switch to that console and type away...
-
I am having same problem, but I thought it was my problem. At linux the debug doesn't pop-up a console window. But the program runs in the background.
(Am I so unlucky that I am always aware of all the bugs? Or the linux version is not paied so much attention? I wish I could help giving patches... :( )
-
I am having same problem, but I thought it was my problem. At linux the debug doesn't pop-up a console window.
That's true.
Or the linux version is not paied so much attention? I wish I could help giving patches... :( )
It's not a matter of attention. Just like I can't make gdb stop by using the "Stop" button in windows, I can't make a new console for debugging in linux. Patches are always welcome :).
-
At linux the debug doesn't pop-up a console window. But the program runs in the background.
This is what I mean.
-
At linux the debug doesn't pop-up a console window. But the program runs in the background.
This is what I mean.
I've just downloaded the Linux version of Code::Blocks for my laptop. It is really useful!
It would be great having the console window when we are in debug mode as in the
Windows version.
When debugging programs with lines asking for an input, that is a real problem. We
do not have any interaction with the program.
Thanks a lot!
elindio
-
As a short term fix, can you just use "Debug -> Send user command to debugger" to send your input? (I'm assuming gdb will just pass this information onto your program if they share the same stdin, but maybe not...)
-
Actually I can't...
When the program is waiting for the input, the button "Debug->Send user command to debugger" is disabled.
Whenever that button is enabled is to send some command to gdb,... but it does not work for the inputs.
Thanks though.