Example #1
0
 private void OnBreakpoint(object sender, IDebugBreakpoint e)
 {
     var breakpoint = GetBreakpoint(e);
     var threadId = GetCurrentThread();
     if (breakpoint != null)
         BreakpointHit?.Invoke(breakpoint, threadId);
 }
Example #2
0
        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);
        }
Example #3
0
 protected virtual void OnBreakpointHit(BreakpointEventArgs e)
 {
     BreakpointHit?.Invoke(this, e);
 }
Example #4
0
 internal void RaiseBreakpointHit()
 {
     BreakpointHit?.Invoke(this, EventArgs.Empty);
 }
Example #5
0
 public int Breakpoint(IDebugBreakpoint breakpoint)
 {
     BreakpointHit?.Invoke(this, breakpoint);
     return((int)DEBUG_STATUS.BREAK);
 }
Example #6
0
 private void RaiseBreakpointHitEvent(int lineNumber)
 {
     BreakpointHit?.Invoke(this, new BreakpointHitEventArgs(lineNumber));
 }