IDkmStackProvider Interface

Definition

Provides the stack for view by the user. This stack has been filtered, annotated, and mixed together.

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.

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

Methods

Format(DkmStackWalkFrame, DkmInspectionSession, DkmFrameFormatOptions)

Format a DkmStackWalkFrame into a DkmStackFrame. Formatting a frame is one step of what the stack provider does during GetNextFrames. This method can be used to format a frame in a different way than was originally performed by the stack provider in GetNextFrames.

GetNextFrames(DkmStackContext, DkmWorkList, Int32, DkmCompletionRoutine<DkmGetNextFramesAsyncResult>)

Obtain the next frames from the call stack. If this is the first call on a particular DkmStackContext then this will return the first frames. This method is the recommended way to obtain the call stack because the stack provider maintains a cache of the physical stack.

GetTopStackFrame(DkmThread)

Returns the top call stack frame for a thread. This value is normally cached after the first stack walk and cleared on continue. This is only callable above the stack provider in the client process. To obtain the top frame in the server process, call GetTopStackWalkFrame.

Applies to