[Interest] Qt 5.6.0 beta / Mac / lldb / Debug Symbols
Nils Jeisecke
jeisecke at saltation.de
Thu Jan 14 13:45:41 CET 2016
Hi list,
I'm running into trouble trying to step into Qt's sources while debugging.
To select the debug version of Qt I'm using DYLD_IMAGE_SUFFIX=_debug
which according to the image names in the backtrace seems to work.
However I don't get lldb to display line numbers or show source code
for stack frames inside Qt.
I've installed Qt 5.6 for Mac OS X (clang64) beta using the official
installer, including Qt's source code.
This is an example backtrace:
(lldb) bt
* thread #1: tid = 0x5d27d2, 0x00007fff93f71386
libsystem_kernel.dylib`mach_msg_trap + 10, queue =
'com.apple.main-thread', stop reason = signal SIGSTOP
...
frame #10: 0x00007fff90a54fc8 AppKit`-[NSApplication run] + 682
frame #11: 0x000000010d43b0a6
libqcocoa_debug.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 1142
frame #12: 0x00000001029a3e2a
QtCore_debug`QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 122
frame #13: 0x00000001029a4046
QtCore_debug`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) +
518
frame #14: 0x00000001029a96d4 QtCore_debug`QCoreApplication::exec() + 388
frame #15: 0x000000010194ef36 QtGui_debug`QGuiApplication::exec() + 22
frame #16: 0x000000010331f8f9 QtWidgets_debug`QApplication::exec() + 9
frame #17: 0x000000010048d2bd ctimon`main(argc=1,
argv=0x00007fff5fbff5d8) + 3085 at main.cpp:160
frame #18: 0x00007fff878695ad libdyld.dylib`start + 1
frame #19: 0x00007fff878695ad libdyld.dylib`start + 1
Any ideas?
Nils
More information about the Interest
mailing list