Difference between revisions of "LLDB Commands"

From Coder Merlin
Line 9: Line 9:
| {{Command|process}} {{Command|launch}} {{Command|--}} {{CommandPlaceholder|arguments}}
| {{Command|process}} {{Command|launch}} {{Command|--}} {{CommandPlaceholder|arguments}}
| Launch the process with the specified arguments
| Launch the process with the specified arguments
|-
| {{Command|step}}
| Source-level single-step, stepping into calls
|}
|}
== Breakpoint ==
== Breakpoint ==
{| class='wikitable'
{| class='wikitable'

Revision as of 12:46, 23 September 2020

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Execution[edit]

Key Sequence Purpose
 process   launch   --stop-at-entry  Launch the process and then immediately halt
 process   launch   --   arguments  Launch the process with the specified arguments
 step  Source-level single-step, stepping into calls

Breakpoint[edit]

Key Sequence Purpose
 breakpoint   set   --name   function_name  Set a breakpoint on the function named function_name
 breakpoint   set   --file   file_name   --line   line_number  Set a breakpoint in the file named file_name at line number line_number

Disassemble Frame[edit]

disassemble --frame –mixed

Memory Read[edit]

memory read --size 4 --format x --count 4 0x00007fffffffdb64

Register Read[edit]

register read

Single-Step Assembly[edit]

stepi

References[edit]