private void HandleDebuggerBreakHit(object sender, DebuggerBreak e) { breakHitEvent.Set(); LastBreak = e; }
private string FormatBreak(DebuggerBreak br) => FormatBreak(br.Location.FileName, br.Location.Line);
public void HandleBreakHit(DebuggerBreak debuggerBreak) { console.Info($"Debugger stopped at {FormatBreak(debuggerBreak)}."); console.Info(runtime.CurrentScript.GetLine(debuggerBreak.Location.Line - 1)); }
protected void fireDebuggerBreak(Position position) { DebuggerBreak?.Invoke(position); }