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

Debugger incorrectly says a std::vector has 0 elements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.7.2
    • Qt Creator 4.7.0
    • Debugger
    • None
    • Windows 10, Microsoft Visual Studio 2015, QtCreator 4.7.0, tested using both Qt 5.6.1 and Qt 5.11
    • Windows

    Description

      I have a struct with a member variable which is a std::vector. On Windows, using CDB and with the "use python dumper" option disabled, the debugger always reports that this vector contains zero elements regardless of how many elements are really in it.

      The problem doesn't occur when the python dumper is enabled. I have it disabled currently because of bugs QTCREATORBUG-19356 and QTCREATORBUG-20639.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              vilya Vilya Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes