简体   繁体   中英

Qt creator debug string (show content)

I'm using QT Creator 3.0.0, clang 3.5 and gdb debugger. When i want to see string value in debugger i have to expand six items to see string content by one letter in a row. Here is a screenshot: 截屏 How can i see string content easier?

I also can't see content of vector and other containers.

For QT Creator 4.10, right-click on the variable you want to inspect and choose Change Value Display Format option, then select UTF-8 String in Separate Window .

在此处输入图片说明

This should be fine right from factory. Did you check if the "Enable Debugging Helpers" option in context menu from the locals/variable view is enabled.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM