IDebugHostContextControl interface (dbgmodel.h)

This 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

IDebugHostContextControl inherits from IUnknown.

Methods

The IDebugHostContextControl interface has these methods.

 
IDebugHostContextControl::AddRef

The IDebugHostContextControl::AddRef method increments the reference count for an interface on an object.
IDebugHostContextControl::GetContextAlternator

The GetContextAlternator method retrieves context alternator, which allows a temporary context change/switch.
IDebugHostContextControl::QueryInterface

The QueryInterface method queries for a pointer to a specified interface on a context object.
IDebugHostContextControl::Release

The Release method decrements the reference count for the context object.
IDebugHostContextControl::SwitchTo

The SwitchTo method switches the context to the specified context.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview