Implemented by script engines that support debugging. Typically, an object that implements the IActiveScriptDebug interface also implements the IActiveScript interface. If this is the case, call the IActiveScript::QueryInterface method to obtain the IActiveScriptDebug interface.

The IActiveScriptDebug interface provides the means for:

  • Smart hosts to take over document management.

  • Process debug manager to synchronize debugging of multiple script engines.

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

Methods in Vtable Order

Method Description


Returns the text attributes for an arbitrary block of script text.


Returns the text attributes for an arbitrary scriptlet.


Delegates to IDebugDocumentContext::EnumCodeContexts.