How to solve Qt Creators variable-“” behavior?

前端 未结 3 613
我寻月下人不归
我寻月下人不归 2020-12-29 03:39

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 defaul

相关标签:
3条回答
  • 2020-12-29 04:08

    Fedora uses rpm for package management - use it. Reinstallation of the entire OS would be pointless, it's cargo cult IT. If you run rpm -Va, you can verify if the packages have not been corrupted, that's all you really need.

    Creator has Qt-version-specific debugging helpers, perhaps they don't extend to C++ standard library.

    To make sure that the whatever helpers are available are built, go to Preferences -> Build&Run -> Qt Versions. For each Qt version, go to the details of the Helpers pane, and click [Build All].

    0 讨论(0)
  • 2020-12-29 04:17

    For windows users updated to Qt 5.11.2 and who using CDB.

    On installer (Qt Maintenance tool) make sure the 'Qt -> Qt 5.11.2 -> Qt Debug Information Files' is checked. (There was no such option in previous releases).

    0 讨论(0)
  • 2020-12-29 04:18

    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.

    0 讨论(0)
提交回复
热议问题