ICorDebugStackWalk Interface

Provides methods for getting the managed methods, or frames, on a thread’s stack.

Methods

Method Description
GetContext Method Returns the context for the current frame in the ICorDebugStackWalk object.
SetContext Method Sets the ICorDebugStackWalk object’s current context to a valid context for the thread.
Next Method Moves the ICorDebugStackWalk object to the next frame.
GetFrame Method Gets the current frame in the ICorDebugStackWalk object.

Remarks

Note

This interface does not support being called remotely, either cross-machine or cross-process.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4

See also