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

iOS: Debugger creates unnecessary call-frames in debug view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: Release 3.5.1, Release 4.0.0
    • Component/s: iOS
    • Environment:

      Test Environment:
      Titanium SDK: 3.5.0.v20150106150919
      Appc-Studio: 3.4.1 GA
      Titanium CLI: 3.4.1 GA
      Alloy : 1.5.1 GA
      Xcode : 6.1
      OS: OSX 10.10.1
      Device : iPhone 6plus (iOS 8.1)

    • Sprint:
      2018 Sprint 05 SDK

      Description

      Debugger creates unnecessary call-frames in 3.5.0. Two screenshots are attached to differentiate the behaviors in 3.5.0 and 3.4.1.

      It's a regression since 3.4.1 works as expected
      Steps To Reproduce

      1. Create a classic App
      2. Add following two JS files called app.js and import.js

      app.js

      Ti.include("import.js");
       
      var win = Titanium.UI.createWindow({  
          title:'Tab 1',
          backgroundColor:'#fff'
      });
       
      win.open(); 

      import.js

       
      var x = 10;
      Ti.API.info("x = "+x);
       
      function imported(x) {
      	var y = 'y';
      	Ti.API.log("Imported function: x="+x+", y=",y);
      }
      

      3. Place a breakpoint at line 2 of import.js file
      4. Debug in iOS device.
      5. Observe the call-frames in Debug pane

      Actual Result

      3 call-frames are observed and 2nd is unnecessary. See the screenshot Screenshot_3.5.0.png

      Expected Result

      2 call-frames observed. See the screenshot Screenshot_3.4.1.png

      Note: Variables in variable pane are grayed in 3.5.0 while 3.4.1 shows as green.

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              kvelummaylum Kajenthiran Velummaylum
              Reviewer:
              Ingo Muschenetz
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code