Post

Replies

Boosts

Views

Activity

Comment on Problem when trying to debug with lldb on new arm64 M1
How would you go about debugging this if the 'hello' test didn't work under lldb? I followed your steps and when I try to run the process under lldb with "r", it instantly dies with error: process exited with status -1 (lost connection). I'm an admin, and I tried adding myself to _developer just in case - but no luck. I'm seeing the same error on other processes (an Electron app is where it first appeared), and what's interesting is that debugging with lldb was working until recently and I'm not sure what changed. I tried disabling SIP and that didn't help. Also interesting is that Xcode is able to run/attach to these processes just fine (both Electron, and this 'hello' example). It seems like it's probably a security flag somewhere but I'm not sure where to look. I'm on macOS Monterey 12.0.
Jan ’22