Add comments to proc.Detach

This commit is contained in:
Derek Parker 2015-07-10 15:57:32 -05:00
parent d8418c6506
commit 98da14b078

@ -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 {