Smart hosts implement the IActiveScriptSiteDebug interface to perform document management and to participate in debugging. The IActiveScriptSite object typically provides an implementation of the IActiveScriptSiteDebug interface. If this is done, call the IActiveScriptSite::QueryInterface method to obtain the IActiveScriptSiteDebug interface.

In addition to the methods inherited from IUnknown, the IActiveScriptSiteDebug interface exposes the following methods.

Methods in Vtable Order

Method Description


Used by the language engine to delegate IDebugCodeContext::GetSourceContext.


Returns the debug application object associated with this script site.


Gets the application node under which script documents should be added.


Allows a smart host to determine how to handle run-time errors.