我可以在Qt本身内设置断点吗? [英] Can i set a breakpoint inside Qt itself?
本文介绍了我可以在Qt本身内设置断点吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
作为对,因为 Qt5
分发了完整的源代码,因此是否可以设置Qt自身内部的调试器断点?
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?
在 Qt5
中具有断点的最快方法是什么?
What is the fastest way to have breakpoints inside Qt5
working with QtCreator on Ubuntu?
推荐答案
您需要使用调试符号自行配置并构建 qt。 ( -debug
)
然后在QtCreator中,您可以转到选项>调试器>常规 >和 添加Qt来源。
Then in QtCreator you can go to Options > Debugger > General and "Add the Qt-Sources".
这篇关于我可以在Qt本身内设置断点吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文