- Launch process:
r <args>
- Quit process:
q
- Step in:
s
- Step next:
n
- Step out:
finish
- Break at function main:
b main
- Break at method main:
br s -M main
- Break in foo.cpp at line 42:
b foo.cpp:42
orbr s -f main.c -l 42
- Break at throw:
break set -E C++
- List all break points:
br l
- Delete break point 1:
br del 1
- Conditional break point 1:
br mod -c 'i == 63' 1
- Show frame arguments and locals:
fr v
- Show frame locals:
fr v -a
- Print local bar:
p bar
- Print local bar as hex:
fr v -f x bar
- Print global baz:
ta v baz
- Evaluate expression:
expr (int) printf ("Print nine: %d.", 4 + 5)
- Show backtrace:
bt
- Select a frame:
f 42
- Select calling frame:
up
- Select called frame:
down
Last active
June 21, 2023 10:37
-
-
Save jim-ec/3c11a5a5c3651be0e42ca46100ad78f1 to your computer and use it in GitHub Desktop.
LLDB Commands.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment