Inheritance: AD7StoppingEvent, IDebugBreakpointEvent2
コード例 #1
0
        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);
        }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
ファイル: AD7Engine.cs プロジェクト: Microsoft/RTVS
        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);
            }
        }
コード例 #4
0
ファイル: AD7BoundBreakpoint.cs プロジェクト: Microsoft/RTVS
 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);
 }