QtCreator 2.3 - 无法在调试器中查看QString内容 [英] QtCreator 2.3--Lost ability to see QString contents in debugger

查看:798
本文介绍了QtCreator 2.3 - 无法在调试器中查看QString内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我最近升级到了QtCreator 2.3(并且希望保留它的QtQuick支持),并且最初的调试器性能减慢到不可用的爬行(尽管我仍然可以看到QString的内容)。谷歌搜索导致我安装gdb 7.3.1,这是目前最新的稳定版本,并且乐于将调试器的步进速度提高到可用的水平。但是现在调试器不会显示QString的内容,只是char数组的地址,以及很多不告诉我任何信息的私人成员。任何人都知道如何让调试器再次显示字符串内容?我在Ubuntu 10.04上。

解决方案

检查此
http://developer.qt.nokia.com/forums/viewthread/6323



编辑:该页面不再可用,该域目前处于停放状态。

@gshep如果可以,请替换链接记住页面的标题并找到它的另一个实例。


So I recently upgraded to QtCreator 2.3 (and want to keep it for its QtQuick support) and initially debugger performance slowed to an unusable crawl (though I could still see QString contents). Googling around led me to install gdb 7.3.1, the latest stable release at this time, and that happily brought debugger stepping speed back up to usable levels. But now the debugger won't display the contents of a QString, just the address of the char array, and a lot of private members that don't tell me anything informative. Anybody know how I can get the debugger to display string contents again? I'm on Ubuntu 10.04.

解决方案

Check this http://developer.qt.nokia.com/forums/viewthread/6323

Edit: The page isn't available anymore, the domain is currently parked.

@gshep Please replace the link if you can remember the title of the page and find another instance of it.

这篇关于QtCreator 2.3 - 无法在调试器中查看QString内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆