[Qt-interest] line number '0' for Qt libs under Qt Creator's debugger
Garth Dahlstrom
ironstorm at gmail.com
Wed Nov 4 23:01:58 CET 2009
Hi all,
A co-worker and I are working on a project built on Qt that requires
us to patch Qt to add Java support to QtWebkit (we will eventually
contribute these changes back to the community btw).
As part of this effort we need to be able to debug within the Qt
libraries effectively, currently we are stuck with an issue where by
all Qt line numbers in the debugger's stack under Qt Creator always
appear as '0'. (refer to the attached screenshot or http://imgbin.org/index.php?page=image&id=899
)... this means we are stuck injecting qDebug statements to Qt and
relinking... which is painful to say the least.
Any tips or steps to getting line numbers for the Qt stuff under debug
would be extremely helpful.
Here are the configurations I've tried so far - they all experience
this behaviour of '0' for Qt line numbers shown in the image:
-- On Snow Leopard (OSX 10.6.1) --
- Qt 4.5.3 (mac ports) + Qt Creator 1.2
- Qt 4.6 Preview 1 + Qt Creator 1.3 Preview
All with and without DYLD_IMAGE_SUFFIX=_debug (the _debug frameworks
to crash the app on start because of this Apple bug http://www.openradar.appspot.com/7309435
)
-- Windows XP --
Qt 4.5 + mingw + Qt Creator 1.2
Qt 4.6 Preview 1 + mingw + Qt Creator 1.3 Preview
With each of the above configurations had valid 'debug helper' built.
Please shout if you know anything I can try to fix this.
Thanks,
-G
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Qt Creator's debugger can't resolve line numbers.png
Type: image/png
Size: 25493 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091104/1c09186f/attachment.png
-------------- next part --------------
More information about the Qt-interest-old
mailing list