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

[REG 3.6 -> 4.0] Debugger can't "step into"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.0.0-beta1
    • Fix Version/s: Qt Creator 4.0.0-beta1
    • Component/s: Debugger
    • Labels:
    • Environment:
      Windows 7 64 bit
      MSVC2013 32 bit
      cdb 6.12

      Description

      1. Have a simple program:
        #include <QCoreApplication>
        #include <QDebug>
        
        void func(){
        
        }
        
        int main(int argc, char *argv[])
        {
            QCoreApplication a(argc, argv);
            func();
            qDebug() << "Program ran forward.";
        
            return a.exec();
        }
        
      2. Place a breakpoint at the call to func().
      3. Run this in the debugger.
      4. When the debugger stopped at the breakpoint, press F11 to "step into".
        The debugger will not step in. It will go into "Running" state and print the qDebug().

      The debugger should just step into the called function.

        Attachments

        1. left.log
          0.5 kB
        2. right.log
          16 kB

          Issue Links

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

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes