Can't Debug on Device from AppCode

I'm running AppCode 3.1.5 on OS X 10.10.2 (with Xcode 6.2). When I try to debug on either of my devices (iPhone 5S & iPad Air 2), the app will finish building and install on the device, but the debugger will never attach, timing out with the error "Cannot stop current device session". My work computer with the same configuration (newer hardware) is able to do this fine.

8 comments
Comment actions Permalink

Hi Joshua.

Could you please firstly try to run and debug your project in Xcode and if it would be successfull, repeat debugging in AppCode.

0
Comment actions Permalink

The project (which is just a newly-created Tab Bar App) debugs fine from Xcode. When I try to debug from AppCode, it finishes compilation and scripts and the Debug tab pops up, but it hangs forever on connecting:

Screen Shot 2015-03-26 at 10.00.12 AM.png

1
Comment actions Permalink

It might be worth noting, I never see the "Connecting to process XXXXXX" message in the console window. There is no feedback.

0
Comment actions Permalink

Hi Joshua.

Thank you for the details.
Could you please also attach or send us (appcode-support@jetbrains.com) idea.log. You can find it via Help | Show log in finder.

0
Comment actions Permalink

Here's my log.



Attachment(s):
idea.log.zip
0
Comment actions Permalink

Joshua,

Sorry, could you also please add the following lines to (Help | Configure Debug Log Settings)

#com.jetbrains.cidr.execution.debugger
#com.jetbrains.cidr.execution.deviceSupport.AMDeviceManager
#org.jetbrains.appcode.reveal


and send us idea.log file (Help | Show log in finder) after the problem happens again.

0
Comment actions Permalink

Here's the log after adding those debug parameters and reproducing the problem.



Attachment(s):
idea.log.zip
0
Comment actions Permalink

Joshua,

I've created an issue in our tracker for futher investigation of this case:
https://youtrack.jetbrains.com/issue/OC-11783
Feel free to comment or upvote.
Please follow the issue.

0

Please sign in to leave a comment.