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

Android Debug: The debugger suspends on wrong js file during alloy project debug on Android device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.1.3
    • Component/s: Android, Debugging
    • Labels:
      None
    • Environment:

      Mac OS 10.14.3
      Ti SDK: 8.1.0.v20190708112238
      Appc CLI: 7.1.0-master.24
      Node: 8.16.0
      Alloy: 1.14.0-1

      Description

      When trying to debug an Alloy project on Android device the debugger suspends on the app:/alloy/controllers/index.js instead of hitting the breakpoint in the project's index.js.

      Note: This issue happens only on Android device. It works fine on the android emulator.

      Steps to Reproduce:
      1. Create a default alloy project
      2. Add breakpoint on Line 2
      3. Debug on android device

      Actual Result:
      The debugger suspends on (anonymous) [app:/alloy/controllers/index.js:2] during app launch. Click on Resume makes the thread in running state and the app launches. Click on the label in the app does not trigger the original breakpoint.

      Expected Result:
      The debugger should not suspend on the source mapped file.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              ssekhri Satyam Sekhri
              Reviewer:
              Satyam Sekhri
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: