lldb help

| No Comments | No TrackBacks
MacBook-Pro:~ yarshure$ /Users/yarshure/lldb/lldb/build/Debug/lldb 
(lldb) help
The following is a list of built-in, permanent debugger commands:

alias        -- Allows users to define their own debugger command abbreviations.
append       -- Allows the user to append a value to a single debugger setting variable, for settings that are of list types. Type 'settings' to see a list of debugger setting variables
apropos      -- Finds a list of debugger commands related to a particular word/subject.
breakpoint   -- A set of commands for operating on breakpoints.
call         -- Call a function.
delete       -- Lists the kinds of objects you can delete, and shows syntax for deleting them.
disassemble  -- Disassemble bytes in the current function or anywhere in the inferior program.
expression   -- Evaluate a C expression in the current program context, using variables currently in scope.
file         -- Sets the file to be used as the main executable by the debugger.
frame        -- A set of commands for operating on the current thread's frames.
help         -- Shows a list of all debugger commands, or give details about specific commands.
image        -- Access information for one or more executable images.
info         -- Lists the kinds of objects for which you can get information, and shows the syntax for doing so.
log          -- A set of commands for operating on logs.
memory       -- A set of commands for operating on a memory.
process      -- A set of commands for operating on a process.
quit         -- Quits out of the LLDB debugger.
regexp-break -- Smart breakpoint command (using regular expressions).
register     -- Access thread registers.
script       -- Passes an expression to the script interpreter for evaluation and returns the results. Drops user into the interactive interpreter if no expressions are given.
select       -- Lists the kinds of objects you can select, and shows syntax for selecting them.
set          -- Allows the user to set or change the value of a single debugger setting variable.
settings     -- Lists the debugger settings variables available to the user to 'set' or 'show'.
show         -- Allows the user to see a single debugger setting variable and its value, or lists them all.
source       -- Reads in debugger commands from the file <filename> and executes them.
source-file  -- Display source files from the current executable's debug info.
target       -- A set of commands for operating on debugger targets.
thread       -- A set of commands for operating on one or more thread within a running process.
unalias      -- Allows the user to remove/delete a user-defined command abbreviation.
variable     -- Access program arguments, locals, static and global variables.

The following is a list of your current command abbreviations (see 'alias' for more info):

bt       -- ('thread backtrace')  Shows the stack for one or more threads.
c        -- ('process continue')  Continues execution all threads in the current process.
continue -- ('process continue')  Continues execution all threads in the current process.
exit     -- ('quit')  Quits out of the LLDB debugger.
expr     -- ('expression')  Evaluate a C expression in the current program context, using variables currently in scope.
finish   -- ('thread step-out')  Source level single step out in specified thread (current thread, if none specified).
l        -- ('source-file')  Display source files from the current executable's debug info.
list     -- ('source-file')  Display source files from the current executable's debug info.
n        -- ('thread step-over')  Source level single step over in specified thread (current thread, if none specified).
next     -- ('thread step-over')  Source level single step over in specified thread (current thread, if none specified).
q        -- ('quit')  Quits out of the LLDB debugger.
r        -- ('process launch')  Launches the executable in the debugger.
run      -- ('process launch')  Launches the executable in the debugger.
s        -- ('thread step-in')  Source level single step in in specified thread (current thread, if none specified).
si       -- ('thread step-inst')  Single step one instruction in specified thread (current thread, if none specified).
step     -- ('thread step-in')  Source level single step in in specified thread (current thread, if none specified).
x        -- ('memory read')  Read memory from the process being debugged.

For more information on any particular command, try 'help <command-name>'.
Enhanced by Zemanta

No TrackBacks

TrackBack URL: http://iphone.ipsw.info/mt/mt-tb.cgi/311

Leave a comment