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).

C++/CX
public:
 Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ GetTopStackFrame();

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

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022