Share via


IDkmCallStackFilter Interface

Definition

Allows a component to add additional annotation to the call stack or remove physical frames from the call stack. For performance reasons, stack frame filters are invoked prior to evaluation by expression evaluators. One example stack frame filter is to hide external code in the call stack. Frame filters that add async stack walk contexts must have a priority of Normal or above.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: BaseDebugMonitorId, EngineId, TaskProviderId.

public interface class IDkmCallStackFilter
public interface class IDkmCallStackFilter
__interface IDkmCallStackFilter
public interface IDkmCallStackFilter
type IDkmCallStackFilter = interface
Public Interface IDkmCallStackFilter

Methods

FilterNextFrame(DkmStackContext, DkmStackWalkFrame)

Provides a filter with the next stack frame. A filter can simply pass this frame on through, it can suppress the frame by returning nothing, or it can provide its own set of annotated frames. The stack provider will ignore NotImplementedException (E_NOTIMPL). All other errors will truncate stack walk.

Applies to