diff --git a/pkg/proc/proc_test.go b/pkg/proc/proc_test.go index 4b450aefad08344dfdc9ae225c06de8eed5ec019..af76d6723f135eb9463d5dff383133d5412a8866 100644 --- a/pkg/proc/proc_test.go +++ b/pkg/proc/proc_test.go @@ -1226,6 +1226,8 @@ func TestFrameEvaluation(t *testing.T) { assertNoError(err, t, "setFunctionBreakpoint") assertNoError(proc.Continue(p), t, "Continue()") + t.Logf("stopped on thread %d, goroutine: %#v", p.CurrentThread().ThreadID(), p.SelectedGoroutine()) + // Testing evaluation on goroutines gs, err := proc.GoroutinesInfo(p) assertNoError(err, t, "GoroutinesInfo") @@ -1237,6 +1239,8 @@ func TestFrameEvaluation(t *testing.T) { t.Logf("could not stacktrace goroutine %d: %v\n", g.ID, err) continue } + t.Logf("Goroutine %d", g.ID) + logStacktrace(t, frames) for i := range frames { if frames[i].Call.Fn != nil && frames[i].Call.Fn.Name == "main.agoroutine" { frame = i