Freigeben über


IDkmDataBreakpointHitNotification.OnDataBreakpointHit Method

Definition

OnDataBreakpointHit is invoked as part of event processing. See interface definition for more information.

public:
 void OnDataBreakpointHit(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBoundBreakpoint ^ boundBreakpoint, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, bool hasException, System::String ^ message, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnDataBreakpointHit (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint boundBreakpoint, Microsoft.VisualStudio.Debugger.DkmThread thread, bool hasException, string message, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnDataBreakpointHit : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint * Microsoft.VisualStudio.Debugger.DkmThread * bool * string * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnDataBreakpointHit (boundBreakpoint As DkmBoundBreakpoint, thread As DkmThread, hasException As Boolean, message As String, eventDescriptor As DkmEventDescriptorS)

Parameters

boundBreakpoint
DkmBoundBreakpoint

[In] Represents a breakpoint which has been bound (resolved) to a particular code instruction address or a particular data element. For example, in C++ templates one could create a DkmPendingBreakpoint for a source line. The breakpoint manager would resolve it to zero (ex: module not loaded), one (ex: template is only used on 'int') or many (ex: template is used with many template arguments) location. Each location would have a DkmBoundBreakpoint object.

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

hasException
Boolean

[In] Contains true if the source runtime instance can determine that an exception is in flight on the thread which hit the breakpoint. Currently, only managed runtime instances ever set this. This is used to quickly determine if exception specific logic should apply without making another network round-trip.

message
String

[In] The additional message to show to the user.

eventDescriptor
DkmEventDescriptorS

[In] Describes the event being processed and provides the ability for a component to suppress this event.

Applies to