Qt问题:你可以使用标准的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.