IDkmMergedMonitorStackWalk.GetTopStackWalkFrame Method

Definition

Return the top stack frame for a thread. This frame can come from a runtime instance, or a monitor unwinder. This can only be called from the server process. To obtain the top frame in the client process, use GetTopStackFrame.

public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ GetTopStackWalkFrame(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ runtimeInstance);
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame GetTopStackWalkFrame (Microsoft.VisualStudio.Debugger.DkmThread thread, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance runtimeInstance);
abstract member GetTopStackWalkFrame : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame
Public Function GetTopStackWalkFrame (thread As DkmThread, runtimeInstance As DkmRuntimeInstance) As DkmStackWalkFrame

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

runtimeInstance
DkmRuntimeInstance

[In] The runtime instance of the frame.

Returns

[Out] The top stack frame.

Exceptions

E_NO_FRAME is returned if no native runtime is present and there are no frames on the stack.

Applies to