IDkmStackProvider.GetTopStackFrame(DkmThread) Method

Definition

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.

public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ GetTopStackFrame(Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame GetTopStackFrame (Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member GetTopStackFrame : Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame
Public Function GetTopStackFrame (thread As DkmThread) As DkmStackWalkFrame

Parameters

thread
DkmThread

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

Returns

[Out] DkmStackWalkFrame represents a frame on a call stack which has been walked, but may not have been formatted or filtered. Formatted frames are represented by DkmStackFrame instead.

Applies to