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

iOS Debugger: JSCore: When debugging on iOS device the debug process keeps on waiting for app launch on device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 4.8.0
    • Fix Version/s: Release 5.0.0
    • Component/s: Debugging
    • Labels:
    • Environment:

      Description

      When trying to debug on iOS device the debug process keeps on waiting at the step for manual launch of app on device even after the app is launched.

      • The issue occurs with <use-jscore-framework> as true
      • The issue occurs for both Alloy and Classic apps

      Steps to Reproduce:
      1. Create a new project
      2. Add a breakpoint
      3. Debug the project on iOS
      4. Launch the app on device

      Expected Result:
      On manual launch of app on device the connection should be made with debugger process and any breakpoint set should be hit.

      Actual Result:
      Even after the app has been launched the debug process keeps on waiting for the manual app launch.
      Note: When the debug is done on the device then an alert to Trust the computer is shown. However the alert message for connecting over wifi is never shown on device. (which is shown when debug is done using TiCore)
      Also following exception is shown in the studio logs

      java.lang.ArrayIndexOutOfBoundsException: 0
      	at com.dd.plist.PropertyListParser.determineType(PropertyListParser.java:97)
      	at com.dd.plist.PropertyListParser.parse(PropertyListParser.java:208)
      	at com.axway.inspector.protocol.internal.DeviceInspectorReader.readMessage(DeviceInspectorReader.java:46)
      	at com.axway.inspector.protocol.internal.InspectorReader.run(InspectorReader.java:57)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                ssekhri Satyam Sekhri
                Reviewer:
                Prashanth Pedduri (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: