问题
As a sub-question to this, I want to know, since Qt5
is distributed with full source code, is it possible to set up debugger break-points inside Qt itself?
Is there a symbol file shipped with Qt5
for the binary build? Do I have to build my own Qt to do this?
What is the fastest way to have breakpoints inside Qt5
working with QtCreator on Ubuntu?
回答1:
You need to configure and build qt yourself with debug symbols. (-debug
)
Then in QtCreator you can go to Options > Debugger > General and "Add the Qt-Sources".
来源:https://stackoverflow.com/questions/47624759/can-i-set-a-breakpoint-inside-qt-itself