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

Trying to "Step into" steps out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.6.0-rc1, Qt Creator 4.7.0-rc1
    • Debugger
    • Windows 10 64 bit
      MSVC2015 32 bit
      Qt 5.10.1 64 bit
      cdb 10.0

    Description

      1. Install a build of Qt but do not install the sources.
        Do not set up a source path mapping in the Options dialog.
      2. Open a project which includes the following lines (taken from qbytearray::testQByteArray1() in tests\manual\debugger\simple\simple_test_app.cpp) and configure it with a kit using the Qt version from step 1:
        QByteArray ba;
        ba += "Hello";
        
      3. Set a breakpoint in the second line and let the debugger run up to there.
      4. Try to step into QByteArray::operator+=.
        Creator will step out.

      Creator should step into the function. If this is not possible because of the missing sources, it should just step over, not out.

      gdb handles this situation better.

      Attachments

        Issue Links

          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:

                Gerrit Reviews

                  There are no open Gerrit changes