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

Trying to "Step into" steps out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important 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

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes