QtCreator 2.3--Lost ability to see QString contents in debugger

我的梦境 提交于 2019-12-12 06:25:03

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/7540523/qtcreator-2-3-lost-ability-to-see-qstring-contents-in-debugger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!