LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Debugging in Eclipse (https://www.linuxquestions.org/questions/linux-software-2/debugging-in-eclipse-771731/)

HarryBoy 11-26-2009 10:15 AM

Debugging in Eclipse
 
Hi I have an Qt based application written in C++. I normally just run this program from the command line but I want to use Eclipse to debug it.

I have added an empty C++ makefile application and added all my files to it. It builds perfectly well using Eclipse.

In Eclipse if I goto RunAs-->Local C++ Application the program tries to start up as I can see various debug information in the debug window but as soon as it comes to the line:

QApplication *app = new QApplication(argc, argv );

then it just freezes and goes no further.

If I run the program from the commandlin then all is OK and the application launches.

Does anyone know why this is happening?

Thanks

timmeke 11-27-2009 05:34 AM

Have you installed the Qt integration plugin?
http://qt.nokia.com/developer/eclipse-integration


All times are GMT -5. The time now is 10:04 PM.