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

Struct component of type double causes incorrect debug data preview in QMap containing that struct as value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 2.4.0
    • Qt Creator 2.1.0
    • Debugger
    • None
    • windows 7 professional 64bit, qt 4.7.0, GNU gdb (GDB) 7.1.0.20100329-cvs

      With own struct containing variable of type double and using that struct as value type for QMap<key, value> debugger in QtCreator shows invalid data in that QMap. Printing contents of above QMap shows that it's only invalid in debugger watch window.

      Attached images shows struct definition and test code with results.

      No such error occur when no double-type variable is part of struct.

        1. 2.PNG
          3 kB
          Szczesliwy Los
        2. 5.PNG
          54 kB
          Szczesliwy Los
        3. debugger.log
          86 kB
          Robert Löhning
        4. dLog2.txt
          66 kB
          Szczesliwy Los
        5. master.log
          33 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            jim_zubr_bim Szczesliwy Los
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes