News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugging console-application

Started by tiwag, October 08, 2005, 10:56:12 AM

Previous topic - Next topic

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,
set new-console on

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,
set new-console on

but this doesn't work  under linux, the doc's are saying this is for windows (mingw, cygwin) port only

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...
Be patient!
This bug will be fixed soon...