Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19234

iOS debugger connection refused with SDKs 3.5.0 and 3.5.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.2.0
    • Component/s: iOS
    • Environment:
    • Story Points:
      8
    • Sprint:
      2015 Sprint 14 Studio, 2015 Sprint 22 SDK

      Description

      iOS debugger connection refused with SDKs 3.5.0 and 3.5.1

      After upgrading from SDK 3.4.1 to 3.5.0 (and 3.5.1), I can no longer debug under iOS. The iOS emulator starts and my application is loaded and runs ok. However, although Studio switches to the debug perspective, any breakpoints I set are ignored and I have no debugging capabilities. The only symptom indicating any issue are the series of messages like the one shown below in the Studio log file. Reverting to SDK 3.4.1 in my tiapp.xml restores the debugging capabilities.

      Logs

      ~/Documents/Titanium_Studio_Workspace/.metadata/.log

      !ENTRY com.aptana.js.debug.core 4 4 2015-05-04 05:30:38.465
      !MESSAGE 
      !STACK 0
      java.lang.NullPointerException
      	at org.eclipse.core.runtime.Path.fromPortableString(Path.java:103)
      	at com.appcelerator.titanium.core.launching.TitaniumAppURIMapper.resolve(TitaniumAppURIMapper.java:71)
      	at com.aptana.js.debug.core.internal.model.JSDebugTarget.resolveSourceFile(JSDebugTarget.java:2199)
      	at com.aptana.js.debug.core.internal.model.JSDebugTarget.handleScripts(JSDebugTarget.java:730)
      	at com.aptana.js.debug.core.internal.model.JSDebugTarget.access$6(JSDebugTarget.java:703)
      	at com.aptana.js.debug.core.internal.model.JSDebugTarget$DebugConnectionHandler.handleMessage(JSDebugTarget.java:2355)
      	at com.aptana.js.debug.core.internal.model.DebugConnection.handleMessage(DebugConnection.java:228)
      	at com.aptana.js.debug.core.internal.model.DebugConnection.access$3(DebugConnection.java:223)
      	at com.aptana.js.debug.core.internal.model.DebugConnection$1.run(DebugConnection.java:155)
      

      Discussions

      Here is a Q&A discussion where several other developers are reporting a similar issue...

      http://developer.appcelerator.com/question/181417/debug-connection-refused-with-sdk-35-and-ios

        Attachments

        1. 2015-Jun-07-iosdebugger.log
          15 kB
        2. 2015-Jun-07-StudioLogFile.log
          34 kB
        3. DiagTest.txt
          39 kB
        4. logfile.txt
          4.98 MB
        5. ti-info.txt
          8 kB
        6. TiInfo-Config.txt
          27 kB

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                robgabbard Rob Gabbard
                Reviewer:
                Pedro
              • Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • It looks like Backbone Issue Sync is not enabled for your project.

                    Git Source Code