IDebugHostContextAlternator interface (dbgmodel.h)

This dbgmodel.h interface allows to change the "current" context (the internal state) of the debugger (IDebugHostContext).

The context change can be a full change/switch (for example change the current process/thread/etx. being debugged) or a temporary switch. The temporary change/switch of the internal state of the debugger may alter the debugger in an inconsistent state and not all debugger functionality is available unless the change/switch is reverted back.

Inheritance

IDebugHostContextAlternator inherits from IUnknown.

Methods

The IDebugHostContextAlternator interface has these methods.

 
IDebugHostContextAlternator::AddRef

The AddRef method increments the reference count for the object.
IDebugHostContextAlternator::QueryInterface

The QueryInterface method queries for a specific interface on the current context.
IDebugHostContextAlternator::Release

The Release method decrements the reference count for an interface on an object.
IDebugHostContextAlternator::SwitchBack

The SwitchBack method restores the debugger engine context to its previous state, reverting any temporary context changes made by the SwitchTo method.
IDebugHostContextAlternator::SwitchTo

The SwitchTo method changes or switches the debugger engine context to the IDebugHostContext from which the IDebugHostContextControl was retrieved.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview