[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Debugging MinGW applications

Hi all,

I've got a C application compiled with MinGW on a winXP PC that do not have 
a GUI. It instead works with text based user interaction in a shell.
If I debug the C application by starting it with "Debug As - Local C/C++ 
Application",
I'm not able to interact with the application. Started outside Eclipse the 
application runs without problems.
>From CDT 4.0 no external console is started (happened in previous version of 
CDT) and the Eclipse console remain silent.

Furthermore, If I try to stop the application from Eclipse an error message 
"Terminate failed" appears and both the gdb.exe and the application remains 
alive.
It is the possible to kill gdb from the Widows Task Manager, but it is not 
possible to kill the application. A reboot of the computer is required to 
stop the application.

-What do I need to do to have a console to interact with the application 
during GDB debug?
-What do I have to do to stop an application debugged with GDB from Eclipse?

I'm using last version of MinGW and GDB (links found in the preface to CDT 
documentation).

many thaks
Tiz