From 98da14b078d28561324f2ed56a286fefc2e8d986 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 10 Jul 2015 15:57:32 -0500 Subject: [PATCH] Add comments to proc.Detach --- proc/proc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/proc/proc.go b/proc/proc.go index 0c66bd96..0d71199d 100644 --- a/proc/proc.go +++ b/proc/proc.go @@ -88,6 +88,7 @@ func Attach(pid int) (*Process, error) { return dbp, nil } +// Detach from the process being debugged, optionally killing it. func (dbp *Process) Detach(kill bool) (err error) { // Clean up any breakpoints we've set. for _, bp := range dbp.Breakpoints { -- GitLab