Exposes host-specific functionality, such as syntax coloring, to the debugger. The IDebugDocumentHelper::SetDebugDocumentHost method takes this interface as an argument.

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

Methods in Vtable Order

Method Description


Returns a range of characters that were added by using IDebugDocumentHelper::AddDeferredText, in the original host document.


Returns the text attributes for a block of document text.


Notifies the host that a new document context is being created, and allows the host to optionally return an object that controls the new context.


Returns the full path (including the file name) of the document's source file.


Returns the name of the document, without path information.


Notifies the host that the document's source file has been saved and that its contents should be refreshed.