IActiveScriptSiteDebug Interface

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
IActiveScriptSiteDebug::GetDocumentContextFromPosition Used by the language engine to delegate IDebugCodeContext::GetSourceContext.
IActiveScriptSiteDebug::GetApplication Returns the debug application object associated with this script site.
IActiveScriptSiteDebug::GetRootApplicationNode Gets the application node under which script documents should be added.
IActiveScriptSiteDebug::OnScriptErrorDebug Allows a smart host to determine how to handle run-time errors.