Partilhar via


IDebugQueryEngine2

This interface lets the session debug manager (SDM) retrieve an interface that represents the debug engine (DE).

IDebugQueryEngine2 : IUnknown

Notes for Implementers

The DE implements this interface on the objects that implement the most common DE interfaces (such as IDebugProgram2, IDebugThread2, and IDebugStackFrame2) in order to allow access to the IDebugEngine2 interface of the DE itself.

Notes for Callers

Call QueryInterface on a typical DE interface to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IDebugQueryEngine2.

Method

Description

IDebugQueryEngine2::GetEngineInterface

Gets a custom debug engine (DE) interface.

Remarks

This interface is typically implemented in the object that implements the IDebugProgram2 interface in order to support causality-ordered stepping through functions; that is, when the debugger is stepping out of a function, the next function to execute may not be the previous function on the stack but a function in another thread altogether. For a definition of "causality," see the Visual Studio Debugger Glossary.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugProgram2

IDebugThread2

IDebugStackFrame2

IDebugEngine2

Concepts

Core Interfaces