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