[英]Does lldb have a comm command like gdb?
In GDB, we can do 在GDB中,我们可以做
comm 1
p x
end
This prints x whenever the breakpoint 1 is hit. 每当遇到断点1时,此命令就会输出x。 Can lldb do the same thing?
lldb可以做同样的事情吗?
Yes. 是。 See:
看到:
(lldb) help breakpoint command add (lldb)帮助断点命令添加
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.