debugger: bugfix: BreakpointInfo variables evaluated on wrong thread

BreakpointInfo variables were always evaluated on CurrentThread
instead of the thread that triggered the breakpoint.
This commit is contained in:
aarzilli 2016-02-23 19:40:32 +01:00
parent 5ba9bcd740
commit ecc95cd2ac

@ -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
}