This interface tells the session debug manager (SDM) that a pending breakpoint has been successfully bound to a loaded program. (http://msdn.microsoft.com/en-us/library/bb145356.aspx)
Inheritance: AD7AsynchronousEvent, IDebugBreakpointBoundEvent2
示例#1
0
        /// <summary>
        /// Engines notify the debugger that a breakpoint has bound through the breakpoint bound event.
        /// </summary>
        /// <param name="objBoundBreakpoint"> The bounded breakpoint. </param>
        /// <param name="address"> 0. </param>
        public void OnBreakpointBound(object objBoundBreakpoint, uint address)
        {
            AD7BoundBreakpoint       boundBreakpoint = (AD7BoundBreakpoint)objBoundBreakpoint;
            IDebugPendingBreakpoint2 pendingBreakpoint;

            ((IDebugBoundBreakpoint2)boundBreakpoint).GetPendingBreakpoint(out pendingBreakpoint);

            AD7BreakpointBoundEvent eventObject = new AD7BreakpointBoundEvent((AD7PendingBreakpoint)pendingBreakpoint, boundBreakpoint);

            Send(eventObject, AD7BreakpointBoundEvent.IID, null);
        }
示例#2
0
        /// <summary>
        /// Engines notify the debugger that a breakpoint has bound through the breakpoint bound event.
        /// </summary>
        /// <param name="objBoundBreakpoint"> The bounded breakpoint. </param>
        /// <param name="address"> 0. </param>
        public void OnBreakpointBound(object objBoundBreakpoint, uint address)
        {
            AD7BoundBreakpoint boundBreakpoint = (AD7BoundBreakpoint)objBoundBreakpoint;
            IDebugPendingBreakpoint2 pendingBreakpoint;
            ((IDebugBoundBreakpoint2)boundBreakpoint).GetPendingBreakpoint(out pendingBreakpoint);

            AD7BreakpointBoundEvent eventObject = new AD7BreakpointBoundEvent((AD7PendingBreakpoint)pendingBreakpoint, boundBreakpoint);
            Send(eventObject, AD7BreakpointBoundEvent.IID, null);
        }