DkmRuntimeBreakpoint.SetEvaluationCondition Method

Definition

Overloads

SetEvaluationCondition(DkmWorkList, DkmBreakpointCondition, DkmCompletionRoutine<DkmSetEvaluationConditionAsyncResult>)

Sets a breakpoint condition which is evaluated on the target computer. This is used for .NET languages.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

SetEvaluationCondition(DkmBreakpointCondition, String)

Sets a breakpoint condition which is evaluated on the target computer. This is used for .NET languages.

SetEvaluationCondition(DkmWorkList, DkmBreakpointCondition, DkmCompletionRoutine<DkmSetEvaluationConditionAsyncResult>)

Sets a breakpoint condition which is evaluated on the target computer. This is used for .NET languages.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

public:
 void SetEvaluationCondition(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointCondition ^ Condition, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmSetEvaluationConditionAsyncResult> ^ CompletionRoutine);
public void SetEvaluationCondition (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition Condition, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetEvaluationConditionAsyncResult> CompletionRoutine);
member this.SetEvaluationCondition : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetEvaluationConditionAsyncResult> -> unit
Public Sub SetEvaluationCondition (WorkList As DkmWorkList, Condition As DkmBreakpointCondition, CompletionRoutine As DkmCompletionRoutine(Of DkmSetEvaluationConditionAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

Condition
DkmBreakpointCondition

[In] Conditions under which a breakpoint should fire.

CompletionRoutine
DkmCompletionRoutine<DkmSetEvaluationConditionAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to

SetEvaluationCondition(DkmBreakpointCondition, String)

Sets a breakpoint condition which is evaluated on the target computer. This is used for .NET languages.

public:
 void SetEvaluationCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointCondition ^ Condition, [Runtime::InteropServices::Out] System::String ^ % ErrorText);
public void SetEvaluationCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition Condition, out string ErrorText);
member this.SetEvaluationCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointCondition * string -> unit
Public Sub SetEvaluationCondition (Condition As DkmBreakpointCondition, ByRef ErrorText As String)

Parameters

Condition
DkmBreakpointCondition

[In] Conditions under which a breakpoint should fire.

ErrorText
String

[Out,Optional] If the condition could not be parsed, this indicates the reason why. This value should be null if the compile succeeded.

Applies to