Get Qt variable's actual value when debug in CLion

Hi
I tried to debug a project in CLion. I have added some breakpoints. I started the debug. But, everytime I try to see the value of a variable I always got like this:

You can see, it's not the real value. It seems like an address. It also shows the type, but not the value in the code.

It seems it's only applicable for Qt object (e.g. QtString). It works fine for other:


I have enable GNU C++ Library Rendererds (I found a StackOverflow question), but it doesn't work.
I am using -DCMAKE_BUILD_TYPE = Debug also. Previously, I used RelWithDebInfo, it couldn't even get the hexadecimal like above.

Is there setting that I missed?

I am using macOS Sierra and CLion 2016.3

Thanks

Please sign in to leave a comment.