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

iOS Debugger: JSCore: NPE on click of any debug control button after debug has been terminated

    Details

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

      Description

      While debugging an app click on Terminate debug button. The other debug controls like resume/pause and other step buttons still remain enabled. Clicking on any of those then give a Null pointer exception

      • The issue occurs only when <use-jscore-framework> is 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. During the debug process, click on terminate button to terminate debug.
      5. Click on any other enabled debug control button like resume/pause

      Actual Result:
      An exception is shown. Following are the studio logs

      !MESSAGE An internal error occurred during: "Execute Debug Command".
      !STACK 0
      java.lang.NullPointerException
      	at com.axway.inspector.protocol.internal.Inspector.sendCommandAsync(Inspector.java:263)
      	at com.axway.inspector.protocol.internal.Inspector.sendCommandAsync(Inspector.java:257)
      	at com.axway.inspector.debugger.internal.Debugger.stepInto(Debugger.java:167)
      	at com.appcelerator.titanium.ios.core.launching.debug.JSCThread.stepInto(JSCThread.java:97)
      	at com.appcelerator.titanium.ios.core.launching.debug.JSCStackFrame.stepInto(JSCStackFrame.java:92)
      	at org.eclipse.debug.internal.core.commands.StepIntoCommand.step(StepIntoCommand.java:32)
      	at org.eclipse.debug.internal.core.commands.StepCommand.doExecute(StepCommand.java:36)
      	at org.eclipse.debug.core.commands.AbstractDebugCommand$1.run(AbstractDebugCommand.java:225)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

        Attachments

          Activity

            People

            • Assignee:
              ppedduri Prashanth Pedduri (Inactive)
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: