你可以使用标准的GDB调试器与Qt可执行文件吗?
问题描述:
我刚开始使用Qt,我想调试我的Qt应用程序。我可以在Qt可执行文件中使用标准的GDB调试器吗?
I just started using Qt and I wanted to debug my Qt application. Can I use the standard GDB debugger with Qt executables?
答
是的,您可以。您可能还想要在 Qt Creator 中使用gdb集成,该功能做得更好在运行时检查数据比单独使用gdb。
Yes you can. You might also want to use the gdb integration in Qt Creator, which does a much better job of inspecting data at run time than gdb alone.