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

No map entries in QMultiHash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 15.0.0
    • Debugger
    • None
    • All
    • 3b7e30349 (master)

      To reproduce, debug the program:

      #include <QMultiHash>
      int main(int argc, char *argv[]) {  
        QMultiHash<QString, QString> map;
        map.insert("k1", "v1");
        map.insert("k2", "v2");
        return 0; // break
      } 

      When the breakpoint is reached examine map in debugger. Debugger doesn't show map entries (but it works for QMultiMap):

        For Gerrit Dashboard: QTCREATORBUG-32313
        # Subject Branch Project Status CR V

            ansemkiv Andrii Semkiv
            neverov2 Dmitrii Neverov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes