Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22753

GCC-9 compiler results in std::string being shown as "<not accessible>" in debugger

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 0cdea406061fe1bad0ab577adab0e0dc9b3b73dc (qt-creator/qt-creator/4.11)

    Description

      When compiling with GCC/G++ 9 the debugger in qtcreator-4.9.2 shows std::string as <not accessible>. When swithing back to GCC/G++ 8 the strings are shown as expected in the debugger. Turning on or off "pretty printers" or "Use dynamic object..." does not help. 

      If I use gdb directly on both GCC/G++ 8 & 9 generated binaries the strings are shown as expected (with p).

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-22753
          # Subject Branch Project Status CR V

          Activity

            People

              hjk hjk
              jaapcrezee Jaap Crezee
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes