Udostępnij za pośrednictwem


IDkmBreakpointHitWithErrorReceived.OnBreakpointHitWithErrorReceived Method

Definition

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

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

Parameters

pendingBreakpoint
DkmPendingBreakpoint

[In] High level breakpoint object which is tied to a user-level construct (ex: source file, function name) which may map to zero or more code-level constructs (DkmBoundBreakpoint) and which may be tracked over time.

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.

level
DkmBreakpointMessageLevel

[In] Describes the severity of a message sent from a breakpoint manager back to the source component. This list is sorted in order of priority, as the UI will only display the most important warning. All warnings are ignored if the breakpoint is bound.

message
String

[In] The error message to be reported.

eventDescriptor
DkmEventDescriptorS

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

Applies to