提交 c15fafc2 编写于 作者: D Derek Parker

Use delve instead of dlv everywhere, for now

上级 76c21b1a
......@@ -8,12 +8,6 @@ Delve is a Go debugger, written in Go.
Currently, Delve requires the following [patch](https://codereview.appspot.com/117280043/), however this change is vendored until Go 1.4 lands, so the project is go get-able.
For invocation brevity, I prefer this:
```
$ go build -o dlv && mv dlv $GOPATH/bin
```
### Features
* Attach to an already running process
......@@ -27,19 +21,19 @@ The debugger can be launched in three ways:
* Compile, run, and attach in one step:
```
$ dlv -run
$ delve -run
```
* Provide the name of the program you want to debug, and the debugger will launch it for you.
```
$ dlv -proc path/to/program
$ delve -proc path/to/program
```
* Provide the pid of a currently running process, and the debugger will attach and begin the session.
```
$ sudo dlv -pid 44839
$ sudo delve -pid 44839
```
### Breakpoints
......
......@@ -163,7 +163,7 @@ func parseCommand(cmdstr string) (string, []string) {
}
func (t *term) promptForInput() (string, error) {
prompt := "dlv> "
prompt := "delve> "
line := *goreadline.ReadLine(&prompt)
line = strings.TrimSuffix(line, "\n")
if line != "" {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册