Lldb-320.4.152﹣debugger commands:

Source: Internet
Author: User

Debugger commands:



Apropos--Find a list of debugger commands related to a particular

Word/subject.

Breakpoint--A set of commands for operating on breakpoints. Also See

_regexp-break.

Command--A set of commands for managing or customizing the

Debugger Commands.

Disassemble--disassemble bytes in the current function, or elsewhere

The executable program as specified by the user.

Expression--Evaluate a c/objc/c++ expression in the

Context, using the user defined variables and variables

Currently in scope.

Frame--A set of commands for operating in the current thread ' s

Frames.

Gdb-remote--Connect to a remote GDB server. IF no hostname is

Provided, localhost is assumed.

GUI-Switch into the curses based GUI mode.

Help--Show a list of all debugger commands, or give details

About specific commands.

Kdp-remote--Connect to a remote KDP server. UDP port 41139 is the

Default port number.

Log--A set of commands for operating on logs.

Memory--A set of commands for operating on memory.

Platform-A set of commands to manage and create platforms.

Plugin--A set of commands for managing or customizing plugin

Commands.

Process--a set of commands for operating on A process.

Quit-quit out of the Lldb debugger.

Register--A set of commands to access thread registers.

Script--Pass An expression to the script interpreter for

Evaluation and return the results. Drop into the

Interactive interpreter If no expression is given.

Settings--A set of commands for manipulating internal settable

Debugger variables.

Source--A set of commands for accessing source file information

Target-A set of commands for operating on debugger targets.

Thread--A set of commands for operating in one or more threads

Within a running process.

Type--A set of commands for operating on the type system

Version--Show version of Lldb debugger.

Watchpoint--A set of commands for operating on watchpoints.



Current command abbreviations (type ' help command alias ' for more info):



Add-dsym--(' target symbols add ') 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--(' _regexp-attach ') attach to a process ID if in decimal,

Otherwise treat the argument as a process name to attach to.

B--(' _regexp-break ') Set a breakpoint using a regular expression

To specify, where <linenum> are in decimal and

<address> is in hex.

BT--(' _REGEXP-BT ') Show a backtrace. An optional argument is

Accepted If that argument is a number, it specifies the number

of frames to display. If that argument was ' all ', the full

Backtraces of all threads is displayed.

C--(' process continue ') Continue execution of all threads in the

Current process.

Call – (' expression--') Evaluate a c/objc/c++ expression in the

Current program context, using user defined variables and

Variables currently in scope.

Continue--(' process continue ') Continue execution of all threads in the

Current process.

Detach--(' Process detach ') detach from the current process being

Debugged.

Di--(' disassemble ') disassemble bytes in the current function, or

Elsewhere in the executable program as specified by the user.

Dis-(' disassemble ') disassemble bytes in the current function, or

Elsewhere in the executable program as specified by the user.

Display--(' _regexp-display ') Add an expression evaluation stop-hook.

Down – (' _regexp-down ') Go down "n" Frames in the stacks (1 frame by

Default).

Env--(' _regexp-env ') Implements a shortcut to viewing and setting

Environment variables.

Exit--(' Quit ') quit out of the Lldb debugger.

F--(' Frame select ') Select a frame by index from within the

Current thread and make it the current frame.

FILE--(' target create ') create a target using the argument as the

Main executable.

Finish--(' Thread step-out ') finish executing the function of the

Currently selected frame and return to their call site in

Specified thread (current thread, if none specified).

Image--(' target modules ') A set of commands for accessing information

For one or more target modules.

J--(' _regexp-jump ') sets the program counter to a new address.

Jump – (' _regexp-jump ') sets the program counter to a new address.

Kill--(' Process kill ') Terminate the current process being debugged.

L--(' _regexp-list ') Implements the GDB ' list ' command in all of

Its forms except file:function and maps them to the appropriate

' Source list ' commands.

List--(' _regexp-list ') Implements the GDB ' list ' command in all of

Its forms except file:function and maps them to the appropriate

' Source list ' commands.

N--(' Thread step-over ') Source level single step in specified

Thread (current thread, if none specified), stepping over

Calls.

Next--(' Thread step-over ') Source level single step in specified

Thread (current thread, if none specified), stepping over

Calls.

Nexti--(' Thread step-inst-over ') Single Step one instruction in

Specified thread (current thread, if none specified), stepping

Over calls.

Ni--(' Thread step-inst-over ') Single Step one instruction in

Specified thread (current thread, if none specified), stepping

Over calls.

P--(' expression--') Evaluate a c/objc/c++ expression in the

Current program context, using user defined variables and

Variables currently in scope.

Po--(' Expression-o--') Evaluate a c/objc/c++ expression in the

Current program context, using user defined variables and

Variables currently in scope.

Print--(' expression--') Evaluate a c/objc/c++ expression in the

Current program context, using user defined variables and

Variables currently in scope.

Q--(' Quit ') quit out of the Lldb debugger.

R--(' Process launch-c/bin/sh--') launch the executable in the

Debugger.

Rbreak--(' breakpoint set-r%1 ') sets a breakpoint or set of

Breakpoints in the executable.

REPL--(' expression-r--') Evaluate a c/objc/c++ expression in the

Current program context, using user defined variables and

Variables currently in scope.

Run--(' Process launch-c/bin/sh-') launch the executable in the

Debugger.

S--(' Thread step-in ') Source level single step 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 specified thread

(Current thread, if none specified).

Stepi--(' Thread step-inst ') Single Step one instruction in specified

Thread (current thread, if none specified).

T--(' Thread select ') Select a thread as the currently active

Thread.

Tbreak--(' _regexp-tbreak ') Set a one shot breakpoint using a regular

Expression to specify the location, where <linenum> are in

Decimal and <address> are in hex.

Undisplay--(' _regexp-undisplay ') Remove An expression evaluation

Stop-hook.

Up – (' _regexp-up ') Go up "n" Frames in the stacks (1 frame by

Default).

X--(' memory read ') read from the memory of the process being

Debugged.

For more information on the any command, type ' help <command-name> '.

Lldb-320.4.152﹣debugger commands:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.