[Qt-interest] Qt Eclipse "step into" qt code does not work?!?

Mihail Naydenov mlists at ymail.com
Wed Jun 24 19:58:50 CEST 2009


Thank You for your replay.
Qt integration already does that, and (also) the debug prints (in the stack view) the correct path to the source file (with or without adding the sources).
Also I debug other libs fine, without any intervention.

thanks anyway
MihailNydenov



----- Original Message ----
From: Thomas Dähling <t.daehling at googlemail.com>
To: Mihail Naydenov <mlists at ymail.com>
Cc: qt-interest at trolltech.com
Sent: Wednesday, June 24, 2009 7:58:10 PM
Subject: Re: [Qt-interest] Qt Eclipse "step into" qt code does not work?!?

IIRC you must tell Eclipse where to find the sources for Qt in order
to step into them using the debugger.

At least that is a common pitfall for me when using Eclipse's PyDev
(for python obviously).

/Thomas

2009/6/24 Mihail Naydenov <mlists at ymail.com>:
>
> It seams the problem is not integration itself, because I manually created a makefile-based project in eclipse (galileo, this time)
> it compiled and ran ok using qmake before build, but the same problem is still there - one cannot debug qt source code!
> This time eclipse (galileo) says:
> Could not open the editor: Editor could not be initialized.
>
> It really looks like it is eclipse+qt-source problem because:
> 1 I tested, as I said, a different library (not part of eclipse workspace at all)
> 2 I also tested not only qtcreator, but also code:blocks and netbeans (both 6.7 qt project and manual makefile set up)
> All of them "step in" and debug qt source fine!
>
> ....probably should report this to eclipse after all...
> anyway some feedback from other qt eclipse users will be appreciated
> MihailNydenov
>
>
>
> ----- Original Message ----
> From: Mihail Naydenov <mlists at ymail.com>
> To: qt-interest at trolltech.com
> Sent: Tuesday, June 23, 2009 11:54:33 AM
> Subject: [Qt-interest] Qt Eclipse "step into" qt code does not work?!?
>
>
> Hi,
>
> I'm using (the latest) Qt, Eclipse and Qt Eclipse Integration I am able to debug my apps fine, even my .dlls,
> however am NOT able to debug qt itself (this is, step into its functions).
> Eclipse says the
> Resource <(the right) path to the file> does not exist.
> In Run configuration, Source tab, I have both default (project`s) and Qt`s src paths set.
>
> The important part is that, the exact same project (.pro), opened in QtCreator debugs without modifications fine. (I can step into Qt as well)
>
> My question is, does Qt uses some hacks or I can configure eclipse integration somehow... The problem is obviously not in my Qt installation....
>
> I will really appreciate the help, thanks
> MihailNydenov
>
> PS I did read this https://www.qtsoftware.com/developer/faqs/faq.2006-11-01.2218569050,
> but adding debug did not make any difference, and I don't have diff builds of qt.
>
>
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



      





More information about the Qt-interest-old mailing list