IDkmExceptionManager.ClearExceptionTriggers(DkmProcess, Guid) Method

Definition

Removes all the exception triggers which have been set with a particular SourceId. After this method returns, the exception triggers will no longer raise ExceptionTriggerHit events. Exception triggers are automatically cleared when the DkmProcess object is closed.

public:
 void ClearExceptionTriggers(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, Guid sourceId);
public void ClearExceptionTriggers (Microsoft.VisualStudio.Debugger.DkmProcess process, Guid sourceId);
abstract member ClearExceptionTriggers : Microsoft.VisualStudio.Debugger.DkmProcess * Guid -> unit
Public Sub ClearExceptionTriggers (process As DkmProcess, sourceId As Guid)

Parameters

process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

sourceId
Guid

[In] Identifies the source of an object. SourceIds are used to enable filtering in scenarios when multiple components may be creating instances of a class. For example, source ids can be used to determine if a breakpoint comes from the AD7 AL (ex: user breakpoint, or other breakpoint visible at the SDM level) instead of a breakpoint which may be created by another component (for example an internal breakpoint used for stepping).

Applies to