DkmStackFrame.ExtractFromAD7Object(IDebugStackFrame2) Method

Definition

Obtains a DkmStackFrame from an AD7 stack frame object. This API is used by Visual Studio packages or addins which wish to access the Concord API to obtain more detailed information about the debugged process. This API will only function correctly from the main thread of Visual Studio.

public:
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackFrame ^ ExtractFromAD7Object(Microsoft::VisualStudio::Debugger::Interop::IDebugStackFrame2 ^ frameObject);
public:
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackFrame ^ ExtractFromAD7Object(Microsoft::VisualStudio::Debugger::Interop::IDebugStackFrame2 ^ frameObject);
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackFrame ExtractFromAD7Object(Microsoft::VisualStudio::Debugger::Interop::IDebugStackFrame2 const & frameObject);
public static Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame ExtractFromAD7Object (Microsoft.VisualStudio.Debugger.Interop.IDebugStackFrame2 frameObject);
public static Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame? ExtractFromAD7Object (Microsoft.VisualStudio.Debugger.Interop.IDebugStackFrame2 frameObject);
static member ExtractFromAD7Object : Microsoft.VisualStudio.Debugger.Interop.IDebugStackFrame2 -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackFrame
Public Shared Function ExtractFromAD7Object (frameObject As IDebugStackFrame2) As DkmStackFrame

Parameters

frameObject
IDebugStackFrame2

AD7 stack frame object

Returns

[Optional] DkmStackFrame which backs the AD7 object. NULL in the case that this stack frame is not backed by a Concord frame (ex: frame from the SQL debug engine).

Applies to