IDebugQueryEngine2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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