You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kevin Leong edited this page Jan 6, 2017
·
2 revisions
Debugging in Xcode
LLDB Commands
command
aliases
description
print
p
prints out a variable
po
prints an object
expression
e, expr
Executes a command. E.g, e myVar = 5 will assign a new value to myVar.
continue
c
Continue program execution until next breakpoint
next
n, step-over
Go to the next instruction
step
in, s, step-in
Steps into a function call if present.
step-out
Step out of a function call.
frame info
Shows the current file and line number.
thread return
Loads the specified value into the return registers and returns from the current function immediately. Good for stubbing out functions. E.g., thread return 9.