Debugserver时,自动提示: Failed to get connection from a remote gdb process. Exiting


#1

iphone7,ios11.4,进行debugserver时,自动提示:
Failed to get connection from a remote gdb process.
Exiting.
有哪位同学知道什么原因吗??

tcprelay.py -t 22:2222
tcprelay.py -t 1234:1234

MacBook-Pro-2:~ wapple$ ssh root@localhost -p 2222
iPhone:~ root# debugserver localhost:1234 -a “XXXX”
debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-900.3.57…2
for arm64.
Attaching to process MTPotal…
Listening to port 1234 for a connection from localhost…
Failed to get connection from a remote gdb process.
Exiting.


#2

试了别的端口:1233,报错:
iPhone:~ root# debugserver localhost:1233 -a “XXXX”
debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-900.3.57…2
for arm64.
Attaching to process MTPotal…
error: failed to attach to process named: “”
Exiting.


#3

有哪位同学遇到过吗?


#4

问题解决,有相同问题的同学,请参照这个: