Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get CLion ot show QString values in when debugging?

Tags:

qt

clion

Seeing this blew my mind:

CLion showing the type of variable in C++

But it would be really awesome if it actually showed me the value inside it. Is it possible to fix this?

like image 825
Vadim Peretokin Avatar asked Jun 07 '17 17:06

Vadim Peretokin


People also ask

How do you check the value of a variable while debugging?

Hover over a variable to see its value. When stopped in the debugger hover the mouse cursor over the variable you want to look at. The DataTip will appear showing you the value of that variable. If the variable is an object, you can expand the object by clicking on the arrow to see the elements of that object.

How can check variable value while debugging in Eclipse?

Press Ctrl+Shift+d or Ctrl+Shift+i on a selected variable or expression to show its value. You can also add a permanent watch on an expression/variable that will then be shown in the Expressions view when debugging is on.


1 Answers

Not possible yet - but upvote the request on https://youtrack.jetbrains.com/issue/CPP-605 to get this traction.

like image 56
Vadim Peretokin Avatar answered Oct 26 '22 10:10

Vadim Peretokin