Documentation: generate new docs (#1185)
This commit is contained in:
parent
b9c4a1d68c
commit
38ddb22b68
@ -14,8 +14,9 @@ Command | Description
|
|||||||
[config](#config) | Changes configuration parameters.
|
[config](#config) | Changes configuration parameters.
|
||||||
[continue](#continue) | Run until breakpoint or program termination.
|
[continue](#continue) | Run until breakpoint or program termination.
|
||||||
[disassemble](#disassemble) | Disassembler.
|
[disassemble](#disassemble) | Disassembler.
|
||||||
|
[down](#down) | Move the current frame down.
|
||||||
[exit](#exit) | Exit the debugger.
|
[exit](#exit) | Exit the debugger.
|
||||||
[frame](#frame) | Executes command on a different frame.
|
[frame](#frame) | Set the current frame, or execute command on a different frame.
|
||||||
[funcs](#funcs) | Print list of functions.
|
[funcs](#funcs) | Print list of functions.
|
||||||
[goroutine](#goroutine) | Shows or changes current goroutine
|
[goroutine](#goroutine) | Shows or changes current goroutine
|
||||||
[goroutines](#goroutines) | List program goroutines.
|
[goroutines](#goroutines) | List program goroutines.
|
||||||
@ -39,6 +40,7 @@ Command | Description
|
|||||||
[threads](#threads) | Print out info for every traced thread.
|
[threads](#threads) | Print out info for every traced thread.
|
||||||
[trace](#trace) | Set tracepoint.
|
[trace](#trace) | Set tracepoint.
|
||||||
[types](#types) | Print list of types
|
[types](#types) | Print list of types
|
||||||
|
[up](#up) | Move the current frame up.
|
||||||
[vars](#vars) | Print package variables.
|
[vars](#vars) | Print package variables.
|
||||||
[whatis](#whatis) | Prints type of an expression.
|
[whatis](#whatis) | Prints type of an expression.
|
||||||
|
|
||||||
@ -150,15 +152,28 @@ If no argument is specified the function being executed in the selected stack fr
|
|||||||
|
|
||||||
Aliases: disass
|
Aliases: disass
|
||||||
|
|
||||||
|
## down
|
||||||
|
Move the current frame down.
|
||||||
|
|
||||||
|
down [<m>]
|
||||||
|
down [<m>] <command>
|
||||||
|
|
||||||
|
Move the current frame down by <m>. The second form runs the command on the given frame.
|
||||||
|
|
||||||
|
|
||||||
## exit
|
## exit
|
||||||
Exit the debugger.
|
Exit the debugger.
|
||||||
|
|
||||||
Aliases: quit q
|
Aliases: quit q
|
||||||
|
|
||||||
## frame
|
## frame
|
||||||
Executes command on a different frame.
|
Set the current frame, or execute command on a different frame.
|
||||||
|
|
||||||
frame <frame index> <command>.
|
frame <m>
|
||||||
|
frame <m> <command>
|
||||||
|
|
||||||
|
The first form sets frame used by subsequent commands such as "print" or "set".
|
||||||
|
The second form runs the command on the given frame.
|
||||||
|
|
||||||
|
|
||||||
## funcs
|
## funcs
|
||||||
@ -211,7 +226,7 @@ Show source code.
|
|||||||
|
|
||||||
Show source around current point or provided linespec.
|
Show source around current point or provided linespec.
|
||||||
|
|
||||||
Aliases: ls
|
Aliases: ls l
|
||||||
|
|
||||||
## locals
|
## locals
|
||||||
Print local variables.
|
Print local variables.
|
||||||
@ -256,7 +271,7 @@ Argument -a shows more registers.
|
|||||||
## restart
|
## restart
|
||||||
Restart process from a checkpoint or event.
|
Restart process from a checkpoint or event.
|
||||||
|
|
||||||
restart [event number or checkpoint id]
|
restart [event number or checkpoint id]
|
||||||
|
|
||||||
Aliases: r
|
Aliases: r
|
||||||
|
|
||||||
@ -342,6 +357,15 @@ Print list of types
|
|||||||
If regex is specified only the types matching it will be returned.
|
If regex is specified only the types matching it will be returned.
|
||||||
|
|
||||||
|
|
||||||
|
## up
|
||||||
|
Move the current frame up.
|
||||||
|
|
||||||
|
up [<m>]
|
||||||
|
up [<m>] <command>
|
||||||
|
|
||||||
|
Move the current frame up by <m>. The second form runs the command on the given frame.
|
||||||
|
|
||||||
|
|
||||||
## vars
|
## vars
|
||||||
Print package variables.
|
Print package variables.
|
||||||
|
|
||||||
|
|||||||
@ -31,7 +31,11 @@ Pass flags to the program you are debugging using `--`, for example:
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -47,4 +51,4 @@ Pass flags to the program you are debugging using `--`, for example:
|
|||||||
* [dlv trace](dlv_trace.md) - Compile and begin tracing program.
|
* [dlv trace](dlv_trace.md) - Compile and begin tracing program.
|
||||||
* [dlv version](dlv_version.md) - Prints version.
|
* [dlv version](dlv_version.md) - Prints version.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -31,11 +31,15 @@ dlv attach pid [executable]
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -26,11 +26,15 @@ dlv connect addr
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -30,11 +30,15 @@ dlv core <executable> <core>
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -37,11 +37,15 @@ dlv debug [package]
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -31,11 +31,15 @@ dlv exec <path/to/binary>
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -30,11 +30,15 @@ dlv replay [trace directory]
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -26,11 +26,15 @@ dlv run
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -37,11 +37,15 @@ dlv test [package]
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -39,11 +39,15 @@ dlv trace [package] regexp
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
@ -26,11 +26,15 @@ dlv version
|
|||||||
--headless Run debug server only, in headless mode.
|
--headless Run debug server only, in headless mode.
|
||||||
--init string Init file, executed by the terminal client.
|
--init string Init file, executed by the terminal client.
|
||||||
-l, --listen string Debugging server listen address. (default "localhost:0")
|
-l, --listen string Debugging server listen address. (default "localhost:0")
|
||||||
--log Enable debugging server logging.
|
--log string Comma separated list of components that should produce debug output, possible values:
|
||||||
|
debugger Log debugger commands
|
||||||
|
gdbwire Log connection to gdbserial backend
|
||||||
|
lldbout Copy output from debugserver/lldb to standard output
|
||||||
|
(default "false")
|
||||||
--wd string Working directory for running the program. (default ".")
|
--wd string Working directory for running the program. (default ".")
|
||||||
```
|
```
|
||||||
|
|
||||||
### SEE ALSO
|
### SEE ALSO
|
||||||
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
||||||
|
|
||||||
###### Auto generated by spf13/cobra on 25-Jan-2018
|
###### Auto generated by spf13/cobra on 17-Apr-2018
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user