From ecc95cd2ac6af6db0be931917d17da2d0ff3e49d Mon Sep 17 00:00:00 2001 From: aarzilli Date: Tue, 23 Feb 2016 19:40:32 +0100 Subject: [PATCH] debugger: bugfix: BreakpointInfo variables evaluated on wrong thread BreakpointInfo variables were always evaluated on CurrentThread instead of the thread that triggered the breakpoint. --- service/debugger/debugger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/debugger/debugger.go b/service/debugger/debugger.go index 0c793d0b..8e441e73 100644 --- a/service/debugger/debugger.go +++ b/service/debugger/debugger.go @@ -447,7 +447,7 @@ func (d *Debugger) collectBreakpointInformation(state *api.DebuggerState) error } } - s, err := d.process.CurrentThread.Scope() + s, err := d.process.Threads[state.Threads[i].ID].Scope() if err != nil { return err }