Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Address Santizer with Qt Creator
wrosecrans last edited by
So, I recently started using Address Sanitizer with clang on Linux:
QMAKE_CXXFLAGS_DEBUG += -fsanitize=address -fno-omit-frame-pointer
QMAKE_LFLAGS_DEBUG += -fsanitize=address
And it's pretty great. But, when I usually run my app in the debugger in Qt Creator, the IDE will catch the crash and let me use all the GUI niceness. I've grown to really appreciate Qt Creator's debugging tools. OTOH, with address sanitizing enabled, it just dies and I see the output in the program output, but I can't inspect things "live" or conveniently jump to a source location by clicking on it.
Is there any way to get the debugger to handle this sort of thing? Is it on the roadmap for a future Qt Creator? I really feel like having this integrated into the IDE could be a huge improvement for me when I get stuck in the weeds cleaning up messy designs. :) I've already found a major problem that Valgrind wasn't really helping me with.
andrep last edited by
Feature requests are tracked at bugreports.qt-project.org. Qt Creator Developers rarely look here.