If I try to debug my C++ program in QT Creator the Locals and Expressions window shows me the variables in the program. However all the values show "< not accessible >".
Screenshot:
How do I get the values to show? I can print the values out with cout so I know they are initialized.
Edit: It seems like it only applies to strings
Specs/other:
- Windows 8, 64bit
- QT 5.2.0
- MinGW 32bit, I think 4.8
- QT Creator 3.0.0
Solved:
From this link: http://qt-project.org/forums/viewthread/36121/
Credit goes to Gyll.
Try to remove the checkmark at Tools/Options/Debugger/GDB/Load system GDB pretty printers, and see whether this makes a difference.