mirror of
https://github.com/go-delve/delve.git
synced 2025-11-02 12:59:01 +08:00
proc: implement follow exec mode on Windows (#3507)
This commit is contained in:
committed by
GitHub
parent
70f21c9f86
commit
20350611ce
@ -844,6 +844,10 @@ func stop1(cctx *proc.ContinueOnceContext, dbp *nativeProcess, trapthread *nativ
|
||||
return err1
|
||||
}
|
||||
|
||||
func (procgrp *processGroup) detachChild(dbp *nativeProcess) error {
|
||||
return procgrp.Detach(dbp.pid, false)
|
||||
}
|
||||
|
||||
func (dbp *nativeProcess) detach(kill bool) error {
|
||||
for threadID := range dbp.threads {
|
||||
err := ptraceDetach(threadID, 0)
|
||||
|
||||
Reference in New Issue
Block a user