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

QPair debug dumper not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 14.0.0-beta1
    • Qt Creator 12.0.0, Qt Creator 13.0.0
    • Debugger
    • None
    • intel/arm64 macOS
      Xcode 15.2
      macOS Sonoma 14.3.1
      lldb-1500.0.200.58
      Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)

      Qt dev and Qt 6.6.2

      ====
      Ubuntu 23.10
    • Linux/X11, macOS
    • 87ca7882c (13.0)

    Description

      Add the following code to a Qt project, and set a breakpoint on the cout statement.

      QPair<QString, QString> pair;
      pair.first = QString("a");
      pair.second = QString("b");
      std::cout << "hi\n";

      Observe that the QPair debugger dumper does not work, the value is shown as <not accessible>

      Attachments

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

        Activity

          People

            hjk hjk
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes