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

Can't step out from JavaScript function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 4.1.0-rc1
    • Qt Creator 4.0.3, Qt Creator 4.1.0-rc1
    • Ubuntu 16.04 LTS 64 bit
      Kit using Qt 5.6.1, Qt 5.7.0
    • 4bbd89d1b37800773802914cdfff62d43b5cb0de

      1. Open project qtdeclarative/examples/quick/demos/samegame/samegame.qmlproject from Qt's sources.
        I used it from Qt 5.7.0.
      2. Set a breakpoint at the call to cleanUp() in function startNewGame(gc, mode, map).
      3. Run this in the debugger.
      4. In the app, click "1 Player".
        The breakpoint is being hit.
      5. Press F11 to "step into".
        The debugger steps into cleanUp(). From there, it can't step out anymore. The "Step Out" button is disabled and there is no menu entry for this. The assigned shortcut Shift+F11 doesn't do anything.

      It should be possible to step out from a function the user just stepped into.

        1. left.log
          1 kB
        2. right.log
          74 kB
        For Gerrit Dashboard: QTCREATORBUG-16691
        # Subject Branch Project Status CR V

            ulherman Ulf Hermann
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes