User forums > Using Code::Blocks
Debugging console-application
(1/1)
tiwag:
i wanted to debug a console application, set a breakpoint, started the debugger and it stops at the breakpont but i can't see a console window with my program's output.
Have i to use any special initial gdb command for that ? which ?
tiwag:
when using mingw gdb on windows there was a solution for this problem writing to .gdbinit config file,
--- Code: ---set new-console on
--- End code ---
but this doesn't work under linux, the doc's are saying this is for windows (mingw, cygwin) port only
mandrav:
--- Quote from: tiwag on October 08, 2005, 01:42:15 pm ---when using mingw gdb on windows there was a solution for this problem writing to .gdbinit config file,
--- Code: ---set new-console on
--- End code ---
but this doesn't work under linux, the doc's are saying this is for windows (mingw, cygwin) port only
--- End quote ---
C::B under windows, uses 'set new-console' for console projects (no need to use .gdbinit).
Under other OSes this doesn't work and we 'll have to find another solution...
Navigation
[0] Message Index
Go to full version