private void DebugBreakpoint_BreakpointHit(object sender, EventArgs e) { var bps = new AD7BoundBreakpointEnum(new IDebugBoundBreakpoint2[] { this }); var evt = new AD7BreakpointEvent(bps); PendingBreakpoint.Engine.Send(evt, AD7BreakpointEvent.IID); }
private void Tracer_Browse(object sender, RBrowseEventArgs e) { lock (_browseLock) { _currentBrowseEventArgs = e; _sentContinue = false; } // If we hit a breakpoint or completed a step, we have already reported the stop from the corresponding handlers. // Otherwise, this is just a random Browse prompt, so raise a dummy breakpoint event with no breakpoints to stop. if (e.BreakpointsHit.Count == 0 && !e.HasStepCompleted) { var bps = new AD7BoundBreakpointEnum(new IDebugBoundBreakpoint2[0]); var evt = new AD7BreakpointEvent(bps); Send(evt, AD7BreakpointEvent.IID); } }