【发布时间】:2019-07-19 02:53:14
【问题描述】:
在 gdb 中,我可以告诉调试器在遇到断点时始终运行一组命令
(gdb) b somefile.c:25
(gdb) commands
> watch -l some->expression
> continue
> end
(gdb) continue
lldb 中是否有等效的命令/系统?当我尝试上述方法时,我最终得到了
(lldb) commands
error: 'commands' is not a valid command.
error: Unrecognized command 'commands'.
在互联网上搜索“gdb commands equivalent lldb”给了我很多很棒的备忘单,但没有commands 命令。
【问题讨论】: