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

enums are displayed as "<not accessible>" in Locals window.

    XMLWordPrintable

Details

    • All
    • 18bee3a08f9339c0fb33a732a1fe45b2b8a9622c (qt-creator/qt-creator/4.8)

    Description

      Member variables of `enum` type are displayed as <not accessible> in the Locals debugger window.

      A workaround is to add a watch in the expressions window `(int)this->mEnumVariable` which at least displays the value that you can manually lookup - bug this is painful to do.

      Attachments

        1. dump.txt
          37 kB
          Chris Emsen
        2. image-2018-12-14-13-15-56-543.png
          30 kB
          Chris Emsen
        3. image-2018-12-14-13-16-25-658.png
          30 kB
          Chris Emsen

        Activity

          People

            davschul David Schulz
            cemsen Chris Emsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: