Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18255

iOS: Step Back (F7) does not return the execution to parent method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: Release 3.5.0
    • Component/s: iOS
    • Labels:

      Description

      • Put a breakpoint at lines 3, 9 in the below code

      function doClick(e) {
      	var txt = "labelTxt";
          alert(txt);
          print(e);
      }
       
      function print(e) {
      	Ti.API.info('info');
          Ti.API.warn('warn');
          Ti.API.error('error');
      }
       
      $.index.open();
      

      • Debug the app onto iOS device/simulator.
      • Click on the label to suspend the app at the expected breakpoints.
      • When the thread is suspended at line 9, try to step back to the parent method using F7 (Step Back) in debug perspective.

      The debugger suspends indicating that stepping in, instead of going back to parent method. The behavior is working good in master branch, but not for 3_5_X branch.

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              pinnamuri Praveen Innamuri (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19500
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration