How to solve Qt Creators variable-"<not accessible>" behavior?

frans picture frans · Jan 21, 2014 · Viewed 17.9k times · Source

I have the same problem as described in Variables in Locals and Expressions not accessible in QT Creator but I want to find a way how to "repair" Qt Creator showing default composite types like std::string in the debugging window again.

I've updated from Creator 2.8 to 3.0 via a dist upgrade (fedora 18=>20) and I know things can go wrong there but I really want to avoid re-installing the whole OS just for Qt Creator.

Is there any way to make the Creator more verbose or does it write to a log file?

Is Qt Creator 3.0 known to show nice values for composite types anyway?

What components can I check and how?

Answer

frans picture frans · Jan 25, 2014

Unfortunately it's only a workaround (but I will write more as soon as possible) but this post pointed me to just disable "Load system GDB pretty printers" in Tools->Options->Debugger->GDB

This behavior is a filed bug in QtCreator 3.0

seems to work for me now!

EDIT: Although the bug tracker for QtCreator 3.0 says the bug has been fixed, the bug actually persists in later versions - at least as of v3.1.2 . Fortunately the same suggested workaround applies.