DkmThread.GetTopStackFrame 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.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ GetTopStackFrame();
public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ GetTopStackFrame();
Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame GetTopStackFrame();
public Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame GetTopStackFrame ();
member this.GetTopStackFrame : unit -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame
Public Function GetTopStackFrame () As DkmStackWalkFrame

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