I am using Clion version 1.2 and I got some problem with showing variables in debugger, especially nested variables:
Debugger is showing this : "-var-create: unable to create variable object".
I found something about this issue here:
But I am not sure if this is my problem, and I have absolutely no idea how to reslove this, since I am nut sure whether I am using gcc or g++. If I open CMake -> Cache, I can see that CMAKE_CXX_COMPILER is set to /usr/bin/c++.
I do not know wether this is g++ or gcc. And I have no idea how to use flag -gdwarf-2, not even what it means. Please do you know what could I do so my debugger can show nested variables, like inner structure inside some object ? Thank you very much. This is practically the last issue, which prevents me from working in Clion.
Thank you very much for your patience.