IDataModelScriptHostContext interface (dbgmodel.h)

Implemented by the underlying host debugger, represents information about where the debug host is bridging the script.

Inheritance

IDataModelScriptHostContext inherits from IUnknown.

Methods

The IDataModelScriptHostContext interface has these methods.

 
IDataModelScriptHostContext::AddRef

The IDataModelScriptHostContext::AddRef method increments the reference count for an interface on an object.
IDataModelScriptHostContext::GetNamespaceObject

The GetNamespaceObject method returns an object into which the script provider can place any bridges between the data model and the script.
IDataModelScriptHostContext::NotifyScriptChange

It is required that a script provider notify the debug host upon certain operations occurring with a method call to the NotifyScriptChange method on the associated context.
IDataModelScriptHostContext::QueryInterface

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

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

Remarks

A host interface which is used by the script provider as a container for the contents of the script. How the contents of a script surface other than the manipulations that it performs to the object model of the debugger application is up to the particular debug host. This interface allows the script provider to get information about where to place its contents. See Data Model C++ Scripting Interfaces for more information.

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