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

iOS Debugger: JSCore: Debug on iOS Simulator for first time hangs on splash screen


    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 4.8.0
    • Fix Version/s: None
    • Component/s: Debugging
    • Labels:
    • Environment:

      iOS Simulator 9.3, iOS Simulator 10.0
      Mac OSX El Capitan 10.11.6 
      Ti SDK: 6.0.0.v20161003212111
      Appc Studio: 
      Appc NPM: 4.2.8-7
      App CLI: 6.0.0-54
      Xcode 8.0
      Node v4.6.0
      Preprod Environment


      When an app is debug on an iOS simulator for the first time then it hangs on the splash screen. Again trying to debug on same simulator works successfully and breakpoint is hit.

      • 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 simulator
      4. Terminate the debug process and again debug the same project on same simulator

      Actual Result:
      After Step3: The app gets stuck on the splash screen and no breakpoint is hit. Following exception is shown in studio logs:

      !MESSAGE (Build [ERROR]  Unable to find our application in the listing of applications.
      !STACK 0
      com.axway.inspector.protocol.InspectorException: Unable to find our application in the listing of applications.
      	at com.axway.inspector.protocol.internal.Inspector.handleConnectedApplicationList(Inspector.java:590)
      	at com.axway.inspector.protocol.internal.Inspector.messageReceived(Inspector.java:319)
      	at com.axway.inspector.protocol.internal.InspectorReader.run(InspectorReader.java:60)
      	at java.lang.Thread.run(Thread.java:745)

      After Step4: On second time trying to debug then breakpoint is hit successfully and the app can be debugged.

      Expected Result:
      Should be able to debug the app each time the debug process is ran.




            • Assignee:
              cwilliams Christopher Williams
              ssekhri Satyam Sekhri
            • Watchers:
              1 Start watching this issue


              • Created: