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

Changing display format for Foo* makes members inaccessible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.1.0
    • Qt Creator 2.0.0, Qt Creator 2.0.1
    • Debugger
    • None
    • Windows Vista x64
      Qt from 4.7.0 branch
      g++ (GCC) 4.4.0
      GNU gdb (GDB) 7.1.0.20100329-cvs
    • 979adca16c4a00be4f3ad00070153416ea7f6a2a

    Description

      Open simple.pro, build with a Qt built with MinGW, set a breakpoint in line 1158:

      QStack<Foo> flist;
      

      When breakpoint is hit, go to "Locals and Watchers", expand plist (sic!). Its members [0] and [2] can be expanded and their members can be analyzed. Select one of the pointer to Foo and "Change format for Type Foo*" to "Latin1-String".
      Now the members are displayed as some strings and can't be expanded anymore. Change format back to "Bald pointer": The members still can't be expanded! To make the data accessible again, one has to restart Creator.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes