From 76c21b1ab9b1a77bfc3e508a950111f43099271c Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Mon, 10 Nov 2014 08:28:53 -0600 Subject: [PATCH] Update README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d38711a3..669083a1 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,12 @@ The debugger can be launched in three ways: $ sudo dlv -pid 44839 ``` +### Breakpoints + +Delve can insert breakpoints via the `breakpoint` command once inside a debug session, however for ease of debugging, you can also call `runtime.Breakpoint()` and Delve will handle the breakpoint and stop the program at the next source line. + +### Commands + Once inside a debugging session, the following commands may be used: * `break` - Set break point at the entry point of a function, or at a specific file/line. Example: `break foo.go:13`. -- GitLab