2
votes

I'm trying to debug a C program using Eclipse CDT-s debugger and gdb on a Windows7 system, and everything seems fine, except for the console not showing up, which is bad, because my program needs input at some points from the keyboard.
So how should I make Eclipse's debugger work properly?

Thank you.

3

3 Answers

1
votes

Is your console view open? Window->Show View->Console

0
votes

If you use gdb/mi or cygwin gdb and choose the Standard Create Process Launcher, another console window will open when you start debugging.

Even if you use gdb/mi and it won't open, please check the gdb command set is set to Standard.
CygWin and Standard(Windows) should not be chosen.

0
votes

Maybe you are not debugging Native? Check in Eclipse Debug Configurations