mirror of
https://github.com/go-delve/delve.git
synced 2025-11-02 12:59:01 +08:00
pkg/proc: Introduce Target and remove CommonProcess (#1834)
* pkg/proc: Introduce Target * pkg/proc: Remove Common.fncallEnabled Realistically we only block it on recorded backends. * pkg/proc: Move fncallForG to Target * pkg/proc: Remove CommonProcess Remove final bit of functionality stored in CommonProcess and move it to *Target. * pkg/proc: Add SupportsFunctionCall to Target
This commit is contained in:
@ -10,7 +10,7 @@ import (
|
||||
|
||||
func TestGoroutineCreationLocation(t *testing.T) {
|
||||
protest.AllowRecording(t)
|
||||
withTestProcess("goroutinestackprog", t, func(p proc.Process, fixture protest.Fixture) {
|
||||
withTestProcess("goroutinestackprog", t, func(p *proc.Target, fixture protest.Fixture) {
|
||||
bp := setFunctionBreakpoint(p, t, "main.agoroutine")
|
||||
assertNoError(proc.Continue(p), t, "Continue()")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user