IDebugHostScriptHost interface (dbgmodel.h)

An interface which the underlying debugger host must implement in order to manage data model scripts.

The interface which indicates the capability of the debug host to take part in the scripting environment. This interface allows for the creation of contexts which inform scripting engines of where to place objects.

Inheritance

IDebugHostScriptHost inherits from IUnknown.

Methods

The IDebugHostScriptHost interface has these methods.

 
IDebugHostScriptHost::AddRef

The IDebugHostScriptHost::AddRef method increments the reference count for an interface on an object.
IDebugHostScriptHost::CreateContext

The CreateContext method is called by a script provider to create a new context in which to place the contents of the script.
IDebugHostScriptHost::QueryInterface

The IDebugHostScriptHost::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDebugHostScriptHost::Release

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

Remarks

The IDebugHostScriptHost interface is the interface used by a script provider to get a context from the debug host for a newly created script. This context includes an object (provided by the debug host) where the script provider can place any bridges between the data model and the scripting environment. Such bridges might, for instance, be data model methods which invoke script functions. Doing this allows a caller on the data model side to invoke script methods by utilization of the Call method on IModelMethod interface.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview