IDkmLanguageConditionEvaluator.ParseCondition Method

Definition

Parses an input breakpoint condition so that it can later be evaluated. If the breakpoint condition uses DkmBreakpointConditionOperator.BreakWhenTrue, the expression evaluator should require that the specified condition evaluates to a Boolean value. The created query must return only a single result. For BreakWhenTrue conditions, this must be either a 4-byte or 1-byte value, and any non-zero value is considered true.

public:
 void ParseCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmEvaluationBreakpointCondition ^ evaluationCondition, [Runtime::InteropServices::Out] System::String ^ % errorText);
public void ParseCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmEvaluationBreakpointCondition evaluationCondition, out string errorText);
abstract member ParseCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmEvaluationBreakpointCondition * string -> unit
Public Sub ParseCondition (evaluationCondition As DkmEvaluationBreakpointCondition, ByRef errorText As String)

Parameters

evaluationCondition
DkmEvaluationBreakpointCondition

[In] Represents a condition which is evaluated on the target computer. These objects are used for languages where the expression evaluator is implemented on the target.

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