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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P0: Blocker P0: Blocker
    • Qt Creator 4.0.0-beta1
    • Qt Creator 4.0.0-beta1
    • Debugger
    • Windows 7 64 bit
      MSVC2013 32 bit
      cdb 6.12

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes