我正在尝试通过LLDB调试iOS应用程序。
在其他iOS应用程序上,我没有遇到任何问题,但是这个特定的应用程序给了我一个问题;调试器无法通过加载/启动屏幕。
调试器启动后,我输入continue
。我希望继续将屏幕切换到主活动屏幕,但仍停留在屏幕上。
关于这是为什么的任何想法?
应用程序是BBM。如果您可以复制它,那就太好了
编辑:
lldb调试开始后的状态
Process 2517 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x000000010496d444 dyld` dyld::findMappedRange(unsigned long) + 32
dyld`dyld::findMappedRange:
-> 0x10496d444 <+32>: cbz x8, 0x10496d460 ; <+60>
0x10496d448 <+36>: ldur x13, [x12, #-0x8]
0x10496d44c <+40>: cmp x13, x0
0x10496d450 <+44>: b.hi 0x10496d460 ; <+60>
0x10496d454 <+48>: ldr x13, [x12]
0x10496d458 <+52>: cmp x13, x0
0x10496d45c <+56>: b.hi 0x10496d47c ; <+88>
0x10496d460 <+60>: add x11, x11, #0x1 ; =0x1
Target 0: () stopped.
thread #1: tid = 0x1e2a0, 0x000000010496d444 'dyld`dyld::findMappedRange(unsigned long) + 32, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
我continue
然后process interrupt
Process 2517 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x000000018348816c libsystem_kernel.dylib` mach_msg_trap + 8
libsystem_kernel.dylib`mach_msg_trap:
-> 0x18348816c <+8>: ret
libsystem_kernel.dylib'mach_msg_overwrite_trap: 0x183488170 <+0>: mov x16, #-0x20
0x183488174 <+4>: svc #0x80
0x183488178 <+8>: ret
libsystem_kernel.dylib'semaphore_signal_trap: 0x18348817c <+0>: mov x16, #-0x21
0x183488180 <+4>: svc #0x80
0x183488184 <+8>: ret
libsystem_kernel.dylib'semaphore_signal_all_trap: 0x183488188 <+0>: mov x16, #-0x22
Target 0: () stopped.
* thread #1: tid = 0x1e2a0, 0x000000018348816c 'libsystem_kernel.dylib`mach_msg_trap + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #7: tid = 0x1e646, 0x00000001834a6314 'libsystem_kernel.dylib`__semwait_signal + 8, name = 'DeadLockMonitorThread'
thread #8: tid = 0x1e647, 0x000000018348816c 'libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.uikit.eventfetch-thread'
thread #11: tid = 0x1e667, 0x000000018348816c 'libsystem_kernel.dylib`mach_msg_trap + 8, name = 'APFileLog'
thread #17: tid = 0x1e66d, 0x000000018348816c 'libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.apple.NSURLConnectionLoader'
thread #18: tid = 0x1e67b, 0x000000018348816c 'libsystem_kernel.dylib`mach_msg_trap + 8, name = 'AVAudioSession Notify Thread'
thread #19: tid = 0x1e68b, 0x00000001834a5e1c 'libsystem_kernel.dylib`__psynch_cvwait + 8
thread #20: tid = 0x1e6ea, 0x000000018348816c 'libsystem_kernel.dylib`mach_msg_trap + 8, name = 'com.alipay.antlog'