码迷,mamicode.com
首页 > 其他好文 > 详细

让QtCreator在调试时显示字符串 Qt调试助手 QtDebuggingHelper qtc-debugging-helper

时间:2018-05-11 12:55:02      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:ssi   版本   starting   nload   mes   display   实例   play   help   

When starting gdb with application message “Debugging Helper Missing” is displayed [Solved]

http://qt-project.org/forums/viewthread/23332

文章大意就是QtCreator现在不用Qt调试助手了改用python,而mingw自带的gdb不支持python,所以需要支持python的gdb

 

Building GDB

 

http://qt-project.org/wiki/QtCreatorBuildGdb

http://download.qt-project.org/development_releases/prebuilt/gdb/

到这里下载支持python的对应的二进制GDB

XP下载gdb-7.5-i686_WinXP.zip

 Win7下载qtcreator-gdb-7.4-MINGW32_NT-6.1-i686.tar.gz    实际上不可用,win7下还是用前面xp版本,但是文中最后描述的问题还是会出现。

 

QtCreator->构建和运行->构建套件(Kit)->调试器,设置好后再次“开启Qt调试助手”,就能在调试时看到字符串了

技术分享图片技术分享图片技术分享图片

另外,对于目前版本的QtCreator,我如果在调试时右侧变量窗口里,展开一个直接继承自QObject的自定义类的实例时,gdb就会崩溃,不知道是谁的错。我的解决方案是,简言之,就是创建一个中间层——创建一个类继承QObject,然后让我的自定义类继承这个空的新建的继承自QObject的类,即可。

 

转自:https://blog.csdn.net/wwwwws/article/details/19283549

让QtCreator在调试时显示字符串 Qt调试助手 QtDebuggingHelper qtc-debugging-helper

标签:ssi   版本   starting   nload   mes   display   实例   play   help   

原文地址:https://www.cnblogs.com/liushui-sky/p/9023464.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!