初试动态调试,有些疑惑的地方:一般的流程都是要先打开app,再用debugserver监听,这个时候感觉app内已经进行好多操作了,所以想请教的是,我怎么可以断在app的入口处,比方说AppDelegate?
- 试试这样行不行
debugserver -x backboard IP:port /path/to/executable
1 个赞
确实可以,其实书上已经说的很清楚了,没仔细看
加一条 debugserver -x *** IP:port /path/to/executable
- ***
auto Auto-detect the best launch method to use.
posix Launch the executable using posix_spawn.
fork Launch the executable using fork and exec.
backboard Launch the executable through BackBoard Services.
frontboard Launch the executable through FrontBoard Services.