LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2009, 10:15 AM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
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
 
Old 11-27-2009, 05:34 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to catch the bug: overwritten heap memory, debugging with Eclipse LariFari Programming 7 11-05-2008 01:51 PM
Eclipse and erratic stepping while debugging zakkhoyt Programming 1 10-20-2008 04:46 PM
LXer: Debugging PHP using Eclipse and PDT LXer Syndicated Linux News 0 06-18-2008 09:36 AM
LXer: Debugging with the Eclipse Platform LXer Syndicated Linux News 0 05-04-2007 10:16 AM
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration