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

cdb does not show contents of QList<const char *> nicely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • Qt Creator 2.2.0
    • Debugger
    • Windows Vista x64
      MSVC 2008
      Qt 4.7.2
    • bfcdd9c70077a282847170156b2261a98cdc24e0

    Description

      1. Open tests\manual\gdbdebugger\simple\simple.pro from Creator's sources.
      2. Set a breakpoint in simple_gdbtest_app.cpp after the following lines, currently at line 2581:
        QList<const char *> list2;
        list2 << "foo";
        list2 << "bar";
        list2 << 0;
        list2 << "baz";
        list2 << 0;
        
      3. Build this on Qt built with MSVC.
      4. Run the program in cdb.
        Creator will show that list2 has 5 elements but one can not access the elements. Instead, the raw data structure seems to be shown. Additionally, expanding the tree takes very long.

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: