Save breakpoints in LLDB
问题 How can I save breakpoints in lldb? This is a feature that gdb has and I suspect that lldb has it too but I haven't been able to find it in the help. How this is done in gdb: Getting gdb to save a list of breakpoints? 回答1: As Jim Ingham said above, you currently cannot save breakpoints in lldb. However, there is a work around. You can load lldb commands from a command file as follows: lldb -S <path_to_command_file> You can have this in your command file: file <path_to_binary> breakpoint set -