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

Debug view of std::deque memory is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.0, Qt Creator 4.6.1
    • Debugger

    Description

      I am guessing the debugging view of std::deque types is acting as if each index is located sequentially in memory.  With a deque size of around 70, the first ten entries all match the data that I expect.  Any entries after 10, then become garbage.  I replaced the deque with a vector and the problem disappears from the debugger.

      I am using a POD struct of integers and doubles.

      Attachments

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

        Activity

          People

            hjk hjk
            arban arban
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes