views:

169

answers:

1

Hi,

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.

+1  A: 

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

qichuan
Yes, but it shows nothing. And by the way the tutorials I've seen (eg. this one: http://download.eclipse.org/tools/cdt/docs/tutorials/debug_tutorial/cdt_w_debug.htm) picture it as a standard windows command prompt window.
KáGé
@KaGe: the link you specified doesn't have a windows command prompt window. Does the program launch correctly in non-debug mode?
iondiode