AppCode iOS Simulator not starting when debugging

When starting the iOS Simulator in Debug mode (Run works OK) the App starts to launch but then immediately exits.

The Console in the Debug Tool Window shows:

"Stopping simulator session...

Simulator session started with process 1599

Process finished with exit code 0"

 

I have also attached the relevant (at least in my opinion ;)) part from the idea.log. There are 2 things that might be interesting. One is the stack trace obviously, connected to some error message E0224... and the the other thing is the proxy warning. I'm using a proxy, yes. It is set in the global JVM settings as "Use Browser settings" or something. It is not set in the AppCode preferences though. Have tried to change that, didn't help. Updates etc. work just fine btw.

 

Thx!

 

com.intellij.execution.ExecutionException: Execution finished because of: E0224 17:24:45.476872 2109485056 ProtobufClient.cpp:152] ERROR connecting 3 No such process

at com.jetbrains.cidr.execution.ExecutionResult.get(ExecutionResult.java:38)
at com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriver.getProtobufClient(LLDBDriver.java:90)
at com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriver.destroyProcessHandler(LLDBDriver.java:196)
at com.jetbrains.cidr.execution.debugger.CidrDebugProcess$2.run(CidrDebugProcess.java:216)
at com.jetbrains.cidr.execution.debugger.CidrDebugProcess$3.run(CidrDebugProcess.java:227)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:337)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: com.intellij.execution.ExecutionFinishedException: Execution finished because of: E0224 17:24:45.476872 2109485056 ProtobufClient.cpp:152] ERROR connecting 3 No such process

at com.jetbrains.cidr.execution.CidrExecUtil.checkErrorOnTermination(CidrExecUtil.java:52)
at com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriver$6.processTerminated(LLDBDriver.java:293)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.execution.process.ProcessHandler$4.invoke(ProcessHandler.java:214)
at com.sun.proxy.$Proxy15.processTerminated(Unknown Source)
at com.intellij.execution.process.ProcessHandler$3.run(ProcessHandler.java:171)
at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:247)
at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:153)
at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:149)
at com.intellij.execution.process.BaseOSProcessHandler.onOSProcessTerminated(BaseOSProcessHandler.java:150)
at com.intellij.execution.process.BaseOSProcessHandler$1$1.consume(BaseOSProcessHandler.java:115)
at com.intellij.execution.process.BaseOSProcessHandler$1$1.consume(BaseOSProcessHandler.java:100)
at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:55)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
Caused by: com.intellij.execution.ExecutionException: E0224 17:24:45.476872 2109485056 ProtobufClient.cpp:152] ERROR connecting 3 No such process

at com.jetbrains.cidr.execution.CidrExecUtil.checkErrorOnTermination(CidrExecUtil.java:50)
... 21 more
2016-02-24 17:24:48,631 [ 184336] ERROR - bugger.backend.lldb.LLDBDriver - AppCode 3.3.3 Build #OC-143.1824.1
2016-02-24 17:24:48,631 [ 184336] ERROR - bugger.backend.lldb.LLDBDriver - JDK: 1.8.0_40-release
2016-02-24 17:24:48,631 [ 184336] ERROR - bugger.backend.lldb.LLDBDriver - VM: OpenJDK 64-Bit Server VM
2016-02-24 17:24:48,631 [ 184336] ERROR - bugger.backend.lldb.LLDBDriver - Vendor: JetBrains s.r.o
2016-02-24 17:24:48,631 [ 184336] ERROR - bugger.backend.lldb.LLDBDriver - OS: Mac OS X
2016-02-24 17:24:48,631 [ 184336] ERROR - bugger.backend.lldb.LLDBDriver - Last Action: Debug
2016-02-24 17:24:57,603 [ 193308] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: editor for id: editor.preferences.import
2016-02-24 17:25:20,938 [ 216643] INFO - ntellij.util.proxy.CommonProxy - <html>You have JVM property "https.proxyHost" set to "my.proxy...".<br>This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy<br>This JVM property is old and its usage is not recommended by Oracle.<br>(Note: It could have been assigned by some code dynamically.)

4 comments
Comment actions Permalink

Hi Katharina.

Please add the following lines into Help | Configure Debug Log Settings

#com.jetbrains.cidr.execution.simulator 
#com.jetbrains.cidr.execution.debugger

restart the IDE, reproduce the problem and send idea.log to the appcode-support at jetbrains.com.

0
Comment actions Permalink

Was there a solution to this? I'm getting this issue with 2018.3:

E0310 16:58:54.030397 468284864 ProtobufClient.cpp:161] ERROR connecting 3 No such process

0
Comment actions Permalink

Sam,

Please submit a ticket in our tracker and collect logs (Help | Show Log in Finder) after enabling 

#com.jetbrains.cidr.execution.simulator 
#com.jetbrains.cidr.execution.debugger

and reproducing the issue (see Anna's comment above).

Do not forget to disable debug logging after you're done.

0
Comment actions Permalink

The odd thing is that it's behaving fine now. Yesterday, I tried everything, including but not limited to restarting, cleaning, different simulators...to no avail. I'll try your suggestion if starts acting up again.

0

Please sign in to leave a comment.