DkmRuntimeBreakpoint.OnBreakpointConditionFailed Method

Definition

Overloads

OnBreakpointConditionFailed(DkmThread, String, DkmILFailureReason)

Raise a RuntimeBreakpointConditionFailed event. Components which implement the event sink interface will receive the event notification. This method will enqueue the event and control will immediately return to the caller.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

OnBreakpointConditionFailed(DkmILFailureReason)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

OnBreakpointConditionFailed(String)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

OnBreakpointConditionFailed(DkmThread, String, DkmILFailureReason)

Raise a RuntimeBreakpointConditionFailed event. Components which implement the event sink interface will receive the event notification. This method will enqueue the event and control will immediately return to the caller.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

C++
public:
 void OnBreakpointConditionFailed(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::String ^ ErrorMessage, Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode);

Parameters

Thread
DkmThread

[In] The thread of the stack frame of the target process.

ErrorMessage
String

[In,Optional] The message to display to the user.

ErrorCode
DkmILFailureReason

[In] Failure code explaining why the IL-based breakpoint query failed to execute.

Applies to

Visual Studio SDK 2022 et Visual Studio SDK 2019
Produit Versions
Visual Studio SDK 2019, 2022

OnBreakpointConditionFailed(DkmILFailureReason)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

C++
public:
 void OnBreakpointConditionFailed(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode);

Parameters

ErrorCode
DkmILFailureReason

[In] Failure code explaining why the IL-based breakpoint query failed to execute.

Applies to

Visual Studio SDK 2022 et autres versions
Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022

OnBreakpointConditionFailed(String)

Call back invoked from the breakpoint condition processor to the breakpoint manager when a breakpoint condition encounters a runtime error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

C++
public:
 void OnBreakpointConditionFailed(System::String ^ ErrorMessage);

Parameters

ErrorMessage
String

[In] The message to display to the user.

Applies to

Visual Studio SDK 2022 et autres versions
Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022