lldb命令
1 minute read
- lldb与gdb对照
-
lldb在object-c类对象所有函数上设置断点
breakpoint set -r '\[ClassName .*\]$'
-
lldb在object-c类对象具体函数上设置断点(未验证)
breakpoint set [ClassName functionName]
- lldb常用命令
breakpoint set --name <method-name>
"sets a breakpoint on a given function name, globally. e.g.,
breakpoint set --name viewDidLoad
or
breakpoint set --name "-[UIView setFrame:]"
breakpoint set --selector <selector-name>
"sets a breakpoint on a selector, globally. e.g.,
breakpoint set --selector dealloc