constantly have to restart -can't stop debug session

I don't know why, but latest version constantly has troubles connecting to the sim (as if it hasn't killed off the previous debug session).

I have to quit appcode each time I want to run the app.. very frustrating.

I have disabled multi taskign to get rid of the risk of zombie threads.. so it's not that..

anyone at least got a workaround.? any process I can kill? it's a real pain to have to resart appcode, every 3 or so runs during a debug spree..

thanks.
g

8 comments
Comment actions Permalink

George, which version do you use?
If it is 1.5.2, please update to 1.5.3.

If it is already 1.5.3, first make sure you do not start a simulator session in xcode before starting it in AppCode and vice versa.
Please also attach the log file (Help->Reveal Log in Finder).

0
Comment actions Permalink

Ok,

I sent you my logs.. I thought it was just unit testing - but alas it is not. it's a definite bug..

version 1.5.3.

0
Comment actions Permalink

a workaround would be greatly appreciated. presubaly there is some way to find the process that appcode is trying to talk to and kill it?

0
Comment actions Permalink

I killed a bunch of processes, which looked like it would help

Couldn't register xxxxx with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.Signal received: SIGABRT (Aborted)

note I have disabled running in the background while developing, as I know that can cause issues with zombie threads, which can cause this problem...

I have no idea why it does this, but it's only since 1.5.3 - I might have to revert.

0
Comment actions Permalink

I've got the same problem with AppCode 1.5.3 running on Lion. If this occours, there is a workaround. End the process in the simulator/device, kill all gdb/lddb instances on your mac. this isn't nice, but an workaround I can currently live with ...

0
Comment actions Permalink

mattyohe on #iphonedev turned me onto a great article whereby the guy solves this problem. Here is the script he suggests to use. I kept the name the same as his, as I think it is appropriately named in this case:

.unfuckbootstrap

launchctl list|grep UIKitApplication|awk '{print $3}'|xargs launchctl remove



whenever appcode and the sim don't want to play nice together, I close my appcode debug session [appl f2] and run this script several times.. Works without fail. very quick workaround.
0
Comment actions Permalink

We are investigating the issue,
please follow and 'star' http://youtrack.jetbrains.com/issue/OC-3923 to receive notifications.

0
Comment actions Permalink

Guys,

is there anything specific about the situation where simulator session cannot be stopped?
Does it recur when you use 'Run'  button instead of 'Debug'?
Does it recur when you Debug, but without any breakpoint?
Does it recur when you manually stop the session (Run->'Stop') before starting a new one?

Maybe you can create a sample project?

PS Please reply to http://youtrack.jetbrains.com/issue/OC-3923 if possible.

0

Please sign in to leave a comment.