DkmStackFrame.ExtractFromDTEObject(StackFrame) Method

Definition

Obtains a DkmStackFrame from a DTE (debugger automation) 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. The automation object is often obtained from the 'OnContextChanged' automation event, or from the Debugger.CurrentStackFrame property. This API will only function correctly from the main thread of Visual Studio.

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

Parameters

frameObject
StackFrame

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