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

QML JavaScript debugging does not step over to the last line in a function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • Qt Creator 2.1.0
    • Debugger
    • None
    • Ubuntu 10.04 LTS(32bit)

    Description

      step 1: Create a a Qt Quick project, add calling a JavaScript function while clicked a button, just like this:
      function test

      { i = 1 i = 2 i = 3 }

      step 2: Place breakpoints for each line in the function test, then debug this program.
      step 3: Debugger hit the first line when clicked the button.
      step 4: Click "Step Over" or "Continue" once, debugger hit the second line in test.
      step 5: Click "Step Over" or "Continue" again, debugger break the test but not hit the last line.

      Attachments

        1. Debuger.log
          39 kB
        2. qmldebug.png
          qmldebug.png
          214 kB
        3. TestCode.tgz
          12 kB

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              chenpyii Chen Yi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes