T'n'E
T'n'E

Reputation: 616

LLDB RPC server freezes app

For the past months I have not been able to debug macOS or iOS apps through Xcode. What happens is the following:

  1. Build and run app from Xcode.
  2. Xcode says app is running, but no app has appeared and no debug output from app either.
  3. Kill the process lldb-rpc-server.
  4. App appears and runs as normal, but Xcode is no longer debugging.
  5. Start a new debugging session by attaching it to the app's process.
  6. App freezes again, until lldb-rpc-server is killed.

This OpenRadar has the same description.

I have tried re-installing Xcode (including command-line tools), but it didn't help. Any ideas?


Xcode: Version 9.3.1 (9E501)

MacOS: 10.13.4 (17E199)

Upvotes: 4

Views: 6923

Answers (2)

Deepak Ghadi
Deepak Ghadi

Reputation: 183

I had received this warning msg when device was locked and I was running app on device, so when device is unlocked this warning goes

Upvotes: 0

T'n'E
T'n'E

Reputation: 616

The cause of this was that I had installed a GDB/LLDB-extension called Voltron. I was unaware that the installation also created/modified the .lldbinit in the home folder. Removing this file fixed the issue. See also this issue for Voltron.

Got some very good help from Apple.

Upvotes: 3

Related Questions