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

Cannot step into functions in Qt header

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • Qt Creator 13.0.0-rc1
    • Debugger
    • Windows 11 23H2
      MSVS2019
      cdb 10.0
      Qt 6.6.2 for MSVS2019 from Online Installer

    Description

      1. Open the "simple" manual test from Creator's source repository.
        It's in tests\manual\debugger\simple\CMakeLists.txt
      2. Have a breakpoint in line 1112:
                pain.drawLine(2, 2, 130, 130);
                pain.drawLine(4, 2, 130, 140);
                pain.drawRect(30, 30, 80, 80);
        

        These functions are defined (not just declared) in QtGui\qpainter.h as you can verify by pressing F2, so installing Qt's sources should not be needed.

      3. Run this in the debugger until the breakpoint is being hit.
      4. Press F11 to "step into".
        Creator steps over the lines, one by one.

      Instead, Creator should step into the function and show qpainter.h.

      Attachments

        1. left.log
          7 kB
        2. right.log
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes