QNA
QNA

Reputation: 1087

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: screenshot How can i see string content easier?

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

Upvotes: 3

Views: 3347

Answers (2)

gath
gath

Reputation: 25472

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.

enter image description here

Upvotes: 1

stephane petithomme
stephane petithomme

Reputation: 19

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.

Upvotes: -1

Related Questions