Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LLDB RPC server freezes app

Tags:

xcode

lldb

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)

like image 692
T'n'E Avatar asked Oct 16 '25 12:10

T'n'E


1 Answers

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.

like image 154
T'n'E Avatar answered Oct 18 '25 07:10

T'n'E



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!