Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-4074

Alloy: Debugger ignore breakpoints and stack frame under Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 3.1.0
    • Component/s: Debugging
    • Labels:
    • Environment:

      TiSDK 3.1.0.v20130402092426
      TiStudio 3.1.0.201304011855
      OS: Windows 7 x64
      Alloy: 1.1.0-alpha
      Android Galaxy Nexus 4.1.1

    • Story Points:
      8

      Description

      Problem description

      Under Windows, setting a breakpoint on the original controller source did not cause the app to break where expected.
      Setting a breakpoint on the generated controller source works.

      Steps to reproduce
      Sample 'index.js'

      function doClick(e) {  
          alert($.label.text + a);
      }
       
      var a = 5;
       
      $.index.open();
      

      1) Set a Breakpoint at line 2 ( alert($.label.text + a); )
      2) Debug for Android

      Result: Breakpoints are ignored

      See Jira bug: https://jira.appcelerator.org/browse/ALOY-597 for investigation done regarding source map (confirming it's working as expected). Attaching index.js.map file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                fcasali Federico Casali
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: