Add comments to proc.Detach
This commit is contained in:
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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user