【问题标题】:lldb frame variable command no return when debugging apps in iPhone在 iPhone 中调试应用程序时,lldb 帧变量命令不返回
【发布时间】:2016-07-27 16:57:47
【问题描述】:

当我输入lldb命令的帧变量时,终端没有输出,我看不到当前帧的变量,什么问题,告诉我原因。

there is no output in the terminal when i enter "frame variable" command

【问题讨论】:

  • 请在问题本身中发布代码。

标签: ios reverse-engineering reverse lldb


【解决方案1】:

通常更多细节会有所帮助

话虽如此,在您的情况下,问题很明显是您在 mach_msg_trap 中停止了

您极不可能拥有内核的调试信息 - 由于您没有,LLDB 不知道该函数中存在哪些变量,因此它不会显示任何变量

【讨论】:

  • 进程 49612 停止 * 线程 #1: tid = 0xc1cc, 0x0000000100426af0 JuMei___lldb_unnamed_function24595$$JuMei, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1 frame #0: 0x0000000100426af0 JuMei___lldb_unnamed_function24595$$JuMei JuMei___lldb_unnamed_function24595$$JuMei: -> 0x100426af0: stp x20, x19, [sp, #-32]! 0x100426af4: stp fp, lr, [sp, #16] 0x100426af8: add fp, sp, 16 0x100426afc: sub sp, sp, #16 (lldb) frame info frame #0: 0x0000000100426af0 JuMei___lldb_unnamed_function24595$$Meibacktraces24595db 框架(线程回溯)(线程回溯) >
  • 对不起,问题是“帧变量”的命令没有返回任何东西。它没有在mach_msg_trap中停止。它在断点处停止。
  • 我同意@zhmeifu 我在 7.09.06 PM.png 看到相同的 /Users/dyl/Desktop/Scr​​een Shot 2016-06-05.png
  • 我也一样 ---> (lldb) 框架信息框架 #0: 0x0000000194012ea4 UIKit`-[UIViewController viewDidAppear:] ---> 但没有框架变量的信息
猜你喜欢
  • 1970-01-01
  • 2012-11-29
  • 1970-01-01
  • 1970-01-01
  • 2016-03-05
  • 1970-01-01
  • 2013-09-15
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多