Share via


IDkmBreakpointConditionProcessorGpuExtension.TryPushConditionToTargetDevice Method

Definition

This tries to push the associated condition on the specified runtime instruction breakpoint to the target. This is useful for GPU debugging since testing the condition on the target (GPU hardware or VSD3D ref) is much more efficient than doing it in the debugger. Once this method succeeds, breakpoint event will only be received by the debugger when the condition tests to be true on the debuggee; if it fails, the debugger can still test the condition.

public:
 void TryPushConditionToTargetDevice(Microsoft::VisualStudio::Debugger::Breakpoints::DkmRuntimeInstructionBreakpoint ^ instructionBreakpoint, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^ compiledCondition, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointConditionOperator conditionOperator);
public void TryPushConditionToTargetDevice (Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeInstructionBreakpoint instructionBreakpoint, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery compiledCondition, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator conditionOperator);
abstract member TryPushConditionToTargetDevice : Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeInstructionBreakpoint * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointConditionOperator -> unit
Public Sub TryPushConditionToTargetDevice (instructionBreakpoint As DkmRuntimeInstructionBreakpoint, compiledCondition As DkmCompiledInspectionQuery, conditionOperator As DkmBreakpointConditionOperator)

Parameters

instructionBreakpoint
DkmRuntimeInstructionBreakpoint

[In] Low-level breakpoint which is set on an instruction address.

compiledCondition
DkmCompiledInspectionQuery

[In] Compiled query used to evaluate the condition.

conditionOperator
DkmBreakpointConditionOperator

[In] Operator to use when evaluating the condition.

Applies to