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

iOS: Debugging an app with a space in the name fails to connect

    Details

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

      Studio: 5.1.3.201907112159
      SDK: 8.1.0.v20190716055922
      CLI: 7.1.0-master.24

      Description

      Description

      When debugging an application that has a space on iOS in the name the debugger fails to connect and subsequently breakpoints fail to get hit.

      I see the following in the log

      !ENTRY com.aptana.core 4 0 2019-07-16 17:31:49.482
      !MESSAGE (Build 5.1.3.201907112159) [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.appcelerator.titanium.ios.internal.core.debug.JSCInspector.handleConnectedApplicationList(JSCInspector.java:266)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspector.messageReceived(JSCInspector.java:115)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspectorReader.run(JSCInspectorReader.java:53)
      	at java.base/java.lang.Thread.run(Thread.java:844)
      

      Unsure if this is related, but on the vscode debugger as the debugger protocol reports source paths as a file URI the app name is Hello%20World so Studio might need to also handle this

      I'm able to debug an app called HelloWorld with now issues

      Steps to reproduce

      1. Create an app with a space in the name
      2. Debug the app on iOS

      Actual

      Debugger appears to fail to connect and breakpoints are not hit

      Expected

      Debugger should connect an breakpoints should be hit

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              eharris Ewan Harris
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: