Error attaching to the pid

Hi 👋

I need assistance in attaching the to the pid in terminal. In lldb mode I am connecting to the pid using device process attach --pid <pid-id> which gives me an error

Process 505 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00000001d505c808 libsystem_kernel.dylib`mach_msg2_trap + 8
libsystem_kernel.dylib`mach_msg2_trap:
->  0x1d505c808 <+8>: ret

Thanks

Answered by DTS Engineer in 794248022

That’s not an error. You’ve attached to the process which is now stopped in the debugger. That’s what stop reason = signal SIGSTOP is telling you. If you want to continue, use the process continue command.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

That’s not an error. You’ve attached to the process which is now stopped in the debugger. That’s what stop reason = signal SIGSTOP is telling you. If you want to continue, use the process continue command.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Error attaching to the pid
 
 
Q