private void OnBreakpoint(object sender, IDebugBreakpoint e) { var breakpoint = GetBreakpoint(e); var threadId = GetCurrentThread(); if (breakpoint != null) BreakpointHit?.Invoke(breakpoint, threadId); }
internal void OnBreak(Debugger debugger, Breakpoint breakpoint) { lock (activeDebuggerLock) { if (activeDebugger != null) { throw new NotImplementedException("Multiple active debuggers."); } activeDebugger = debugger; BreakpointHitEvent.Set(); } BreakpointHit?.Invoke(this, breakpoint); }
protected virtual void OnBreakpointHit(BreakpointEventArgs e) { BreakpointHit?.Invoke(this, e); }
internal void RaiseBreakpointHit() { BreakpointHit?.Invoke(this, EventArgs.Empty); }
public int Breakpoint(IDebugBreakpoint breakpoint) { BreakpointHit?.Invoke(this, breakpoint); return((int)DEBUG_STATUS.BREAK); }
private void RaiseBreakpointHitEvent(int lineNumber) { BreakpointHit?.Invoke(this, new BreakpointHitEventArgs(lineNumber)); }