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

GDB pretty printer for QDateTime is broken, shows “(invalid)” even when QDateTime is not invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.0.0-rc1
    • Qt Creator 3.0.0, Qt Creator 3.1.0-rc1
    • Debugger
    • None
    • “qt-windows-opensource-5.2.0-mingw48_opengl-x86-offline.exe” on Windows 8.1 64-bit

    Description

      When debugging a C++ application using MinGW GDB, Qt Creator always shows “(invalid)” in ‘Locals and Expressions’ panel even when the QDateTime is clearly not invalid when checked by other means.

      See attached picture of debugging in action, and zip with the very simple application code.

      I believe this has been a problem for quite a while, not just the latest QtCreator 3.0.0.

      Attachments

        1. debugger_log.txt
          27 kB
          Richard Crook
        2. debugging_qdatetime.zip
          0.6 kB
          Richard Crook
        3. debugging.jpg
          183 kB
          Richard Crook
        4. expand.log
          134 kB
          Robert Löhning
        For Gerrit Dashboard: QTCREATORBUG-11164
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            dazzle Richard Crook
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes