DkmRuntimeInstructionBreakpoint.SetCompiledCondition Method

Definition

Overloads

SetCompiledCondition(DkmCompiledInspectionQuery, DkmBreakpointConditionOperator)

This sets an associated compiled condition on the specified runtime instruction breakpoint. The breakpoint condition processor will then test the condition whenever it is hit. This is used for languages which are evaluated in the IDE process (ex: C++).

SetCompiledCondition(DkmWorkList, DkmCompiledInspectionQuery, DkmBreakpointConditionOperator, DkmCompletionRoutine<DkmSetCompiledConditionAsyncResult>)

This sets an associated compiled condition on the specified runtime instruction breakpoint. The breakpoint condition processor will then test the condition whenever it is hit. This is used for languages which are evaluated in the IDE process (ex: C++).

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.

SetCompiledCondition(DkmCompiledInspectionQuery, DkmBreakpointConditionOperator)

This sets an associated compiled condition on the specified runtime instruction breakpoint. The breakpoint condition processor will then test the condition whenever it is hit. This is used for languages which are evaluated in the IDE process (ex: C++).

public:
 void SetCompiledCondition(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^ CompiledCondition, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointConditionOperator ConditionOperator);
public:
 void SetCompiledCondition(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^ CompiledCondition, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointConditionOperator ConditionOperator);
void SetCompiledCondition(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery const & CompiledCondition, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointConditionOperator ConditionOperator);
public void SetCompiledCondition (Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery CompiledCondition, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator ConditionOperator);
member this.SetCompiledCondition : Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator -> unit
Public Sub SetCompiledCondition (CompiledCondition As DkmCompiledInspectionQuery, ConditionOperator As DkmBreakpointConditionOperator)

Parameters

CompiledCondition
DkmCompiledInspectionQuery

[In] Compiled query used to evaluate the condition.

ConditionOperator
DkmBreakpointConditionOperator

[In] Operator to use when evaluating the condition.

Applies to

SetCompiledCondition(DkmWorkList, DkmCompiledInspectionQuery, DkmBreakpointConditionOperator, DkmCompletionRoutine<DkmSetCompiledConditionAsyncResult>)

This sets an associated compiled condition on the specified runtime instruction breakpoint. The breakpoint condition processor will then test the condition whenever it is hit. This is used for languages which are evaluated in the IDE process (ex: C++).

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 SetCompiledCondition(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^ CompiledCondition, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointConditionOperator ConditionOperator, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmSetCompiledConditionAsyncResult> ^ CompletionRoutine);
public void SetCompiledCondition (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery CompiledCondition, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator ConditionOperator, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetCompiledConditionAsyncResult> CompletionRoutine);
member this.SetCompiledCondition : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetCompiledConditionAsyncResult> -> unit
Public Sub SetCompiledCondition (WorkList As DkmWorkList, CompiledCondition As DkmCompiledInspectionQuery, ConditionOperator As DkmBreakpointConditionOperator, CompletionRoutine As DkmCompletionRoutine(Of DkmSetCompiledConditionAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

CompiledCondition
DkmCompiledInspectionQuery

[In] Compiled query used to evaluate the condition.

ConditionOperator
DkmBreakpointConditionOperator

[In] Operator to use when evaluating the condition.

CompletionRoutine
DkmCompletionRoutine<DkmSetCompiledConditionAsyncResult>

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