mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
pkg/proc: Move proc exec funcs to Target methods
This commit is contained in:
committed by
Alessandro Arzilli
parent
8bb93e9ae1
commit
ccd438c65f
@ -12,7 +12,7 @@ func TestGoroutineCreationLocation(t *testing.T) {
|
||||
protest.AllowRecording(t)
|
||||
withTestProcess("goroutinestackprog", t, func(p *proc.Target, fixture protest.Fixture) {
|
||||
bp := setFunctionBreakpoint(p, t, "main.agoroutine")
|
||||
assertNoError(proc.Continue(p), t, "Continue()")
|
||||
assertNoError(p.Continue(), t, "Continue()")
|
||||
|
||||
gs, _, err := proc.GoroutinesInfo(p, 0, 0)
|
||||
assertNoError(err, t, "GoroutinesInfo")
|
||||
@ -39,6 +39,6 @@ func TestGoroutineCreationLocation(t *testing.T) {
|
||||
}
|
||||
|
||||
p.ClearBreakpoint(bp.Addr)
|
||||
proc.Continue(p)
|
||||
p.Continue()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user