Dav*_*Lee 34
除了下面的原始答案,jump/ j别名可用于跳过多行或跳过特定的行号:
要跳过两行:
(lldb) jump +2
Run Code Online (Sandbox Code Playgroud)
要跳到第102行:
(lldb) jump 102
Run Code Online (Sandbox Code Playgroud)
有关详情help jump,请参阅.
这可以thread jump通过给出--by/ -bflag 使用命令来实现.例:
(lldb) thread jump --by 2
(lldb) th j -b 2
Run Code Online (Sandbox Code Playgroud)
或者,代替相对移动,绝对行号可以特定于--line/ -l.
(lldb) thread jump --line 102
(lldb) th j -l 102
Run Code Online (Sandbox Code Playgroud)
请注意,这些都会移动程序计数器,这可能会使程序进入损坏状态并导致崩溃.
| 归档时间: |
|
| 查看次数: |
6561 次 |
| 最近记录: |