User forums > Using Code::Blocks

how to input to a console program in debug mode

(1/2) > >>

ahlongxp:
besides that, can we add agruments when excuting program in C::B?

killerbot:
Project menu -> Set Programs' arguments

mandrav:
What do you mean? If you debug a console program, a console is launched for it. Just switch to that console and type away...

sque:
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... :( )

mandrav:

--- Quote from: sque on October 05, 2006, 05:21:59 pm ---I am having same problem, but I thought it was my problem. At linux the debug doesn't pop-up a console window.
--- End quote ---

That's true.


--- Quote from: sque on October 05, 2006, 05:21:59 pm ---Or the linux version is not paied so much attention? I wish I could help giving patches... :( )

--- End quote ---

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 :).

Navigation

[0] Message Index

[#] Next page

Go to full version