LLDB: Setting a breakpoint for malloc_error_break through the console

杀马特。学长 韩版系。学妹 提交于 2019-12-03 12:31:04

If you are familiar with gdb, then this little cheat-sheet might help:

http://lldb.llvm.org/lldb-gdb.html

Also:

(lldb) help break set

will give you lots of information about setting breakpoints in lldb.

In this case:

(lldb) br set --name malloc_error_break
(lldb) br set -n malloc_error_break

or:

(lldb) b malloc_error_break

The first examples use breakpoint set which is a "true" lldb command - it uses flag options & values to distinguish the kinds of things you are trying to do. bis a synthetic command that attempts to roughly recreate the gdb breakpoint syntax.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!