apropos | -- List debugger commands related to a word or subject.(列出与某个单词或主题相关的调试器命令。) |
|
|
|
breakpoint | -- Commands for operating on breakpoints (see 'help b' for shorthand.)(断点的相关操作,详细看下面) |
|
|
|
bugreport | -- Commands for creating domain-specific bug reports.(创建某个特点作用域的bug 命令) |
|
|
|
command | -- Commands for managing custom LLDB commands. |
|
|
|
disassemble | -- Disassemble specified instructions in the current target. Defaults to the current function for the current thread and stack frame. |
|
|
|
expression | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting.(直接改变其值,点击继续运行) |
|
|
|
frame | -- Commands for selecting and examing the current thread's stack frames.(通过命令来检查当前堆栈的相关信息。结合后面的命令参数) |
|
|
|
gdb-remote | -- Connect to a process via remote GDB server. If no host is specifed, localhost is assumed. |
|
|
|
gui | -- Switch into the curses based GUI mode. |
|
|
|
help | -- Show a list of all debugger commands, or give details about a specific command. |
|
|
|
kdp-remote | -- Connect to a process via remote KDP server. If no UDP port is specified, port 41139 is assumed. |
|
|
|
language | -- Commands specific to a source language. |
|
|
|
log | -- Commands controlling LLDB internal logging. |
|
|
|
memory | -- Commands for operating on memory in the current target process. |
|
|
|
platform | -- Commands to manage and create platforms. |
|
|
|
plugin | -- Commands for managing LLDB plugins. |
|
|
|
process | -- Commands for interacting with processes on the current platform.(配合其包含的命令继续执行 执行 process help 即可看到) |
|
|
|
quit | -- Quit the LLDB debugger. |
|
|
|
register | -- Commands to access registers for the current thread and stack frame. |
|
|
|
script | -- Invoke the script interpreter with provided code and display any results. Start the interactive interpreter if no code is supplied. |
|
|
|
settings | -- Commands for managing LLDB settings. |
|
|
|
source | -- Commands for examining source code described by debug information for the current target process. |
|
|
|
target | -- Commands for operating on debugger targets. |
|
|
|
thread | -- Commands for operating on one or more threads in the current process.(在当前进程中操作一个或多个线程的命令,结合其下面的参数进行。下面有其搭配参数详细说明) |
|
|
|
type | -- Commands for operating on the type system. |
|
|
|
version | -- Show the LLDB debugger version.(查看开发语言的版本) |
|
|
|
watchpoint | -- Commands for operating on watchpoints. |
|
|
|
add-dsym | -- Add a debug symbol file to one of the target's current modules by specifying a path to a debug symbols file, or using the options to specify a module to download symbols for. |
|
|
|
attach | -- Attach to process by ID or name. |
|
|
|
b | -- Set a breakpoint using one of several shorthand formats. |
|
|
|
bt | -- Show the current thread's call stack. Any numeric argument displays at most that many frames. The argument 'all' displays all threads. |
|
|
|
c | -- Continue execution of all threads in the current process. |
|
|
|
call | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting. |
|
|
|
continue | -- Continue execution of all threads in the current process. |
|
|
|
detach | -- Detach from the current target process. |
|
|
|
di | -- Disassemble specified instructions in the current target. Defaults to the current function for the current thread and stack frame. |
|
|
|
dis | -- Disassemble specified instructions in the current target. Defaults to the current function for the current thread and stack frame. |
|
|
|
display | -- Evaluate an expression at every stop (see 'help target stop-hook'.) |
|
|
|
down | -- Select a newer stack frame. Defaults to moving one frame, a numeric argument can specify an arbitrary number. |
|
|
|
env | -- Shorthand for viewing and setting environment variables. |
|
|
|
exit | -- Quit the LLDB debugger. |
|
|
|
f | -- Select the current stack frame by index from within the current thread (see 'thread backtrace'.) |
|
|
|
file | -- Create a target using the argument as the main executable. |
| finish | -- Finish executing the current stack frame and stop after returning. Defaults to current thread unless specified. |
image | -- Commands for accessing information for one or more target modules. |
|
|
|
j | -- Set the program counter to a new address. |
|
|
|
jump | -- Set the program counter to a new address. |
|
|
|
kill | -- Terminate the current target process. |
|
|
|
l | -- List relevant source code using one of several shorthand formats. |
|
|
|
list | -- List relevant source code using one of several shorthand formats. |
|
|
|
n | -- Source level single step, stepping over calls. Defaults to current thread unless specified.(相当于一行一行的执行函数) |
|
|
|
next | -- Source level single step, stepping over calls. Defaults to current thread unless specified.(与 n 的作用几乎一致) |
|
|
|
nexti | -- Instruction level single step, stepping over calls. Defaults to current thread unless specified. |
|
|
|
ni | -- Instruction level single step, stepping over calls. Defaults to current thread unless specified. |
|
|
|
p | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting.(可以打印程序中相关参数的值,其属性状态) |
|
|
|
parray | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting.(与 p 相同) |
|
|
|
po | -- Evaluate an expression on the current thread. Displays any returned value with formatting controlled by the type's author.(与 p 的区别是打印的值所带的参数相对简洁一点) |
|
|
|
poarray | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting.(与 p 相同) |
|
|
|
print | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting.(与 p 相同) |
|
|
|
q | -- Quit the LLDB debugger. |
|
|
|
r | -- Launch the executable in the debugger. |
|
|
|
rbreak | -- Sets a breakpoint or set of breakpoints in the executable. |
|
|
|
repl | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting. |
|
|
|
reveal_load_dev | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting. |
|
|
|
reveal_load_sim | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting. |
|
|
|
reveal_start | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting. |
|
|
|
reveal_stop | -- Evaluate an expression on the current thread. Displays any returned value with LLDB's default formatting. |
|
|
|
run | -- Launch the executable in the debugger. |
|
|
|
s | -- Source level single step, stepping into calls. Defaults to current thread unless specified.(一步一步执行,即使遇到函数也会进入该函数一步一步执行代码) |
|
|
|
si | -- Instruction level single step, stepping into calls. Defaults to current thread unless specified. |
|
|
|
sif | -- Step through the current block, stopping if you step directly into a function whose name matches the TargetFunctionName. |
|
|
|
step | -- Source level single step, stepping into calls. Defaults to current thread unless specified. |
|
|
|
stepi | -- Instruction level single step, stepping into calls. Defaults to current thread unless specified. |
|
|
|
t | -- Change the currently selected thread. |
|
|
|
tbreak | -- Set a one-shot breakpoint using one of several shorthand formats. |
|
|
|
undisplay | -- Stop displaying expression at every stop (specified by stop-hook index.) |
|
|
|
up | -- Select an older stack frame. Defaults to moving one frame, a numeric argument can specify an arbitrary number. |
|
|
|
x | -- Read from the memory of the current target process. |
|
|
|