LinuxQuestions.org
Help answer threads with 0 replies.
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, 11: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, 06: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:51 PM
Eclipse and erratic stepping while debugging zakkhoyt Programming 1 10-20-2008 05:46 PM
LXer: Debugging PHP using Eclipse and PDT LXer Syndicated Linux News 0 06-18-2008 10:36 AM
LXer: Debugging with the Eclipse Platform LXer Syndicated Linux News 0 05-04-2007 11:16 AM
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 01:50 AM

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

All times are GMT -5. The time now is 12:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration