Provides the means for instantiating a document on demand.

Remarks

This indirect means for instantiating a document:

  • Allows the document to load when it is needed.

  • Allows the document object to be contained within the debugger IDE.

  • Allows multiple ways to access the same document object.

This effectively separates the document from its provider and allows the provider to carry additional run-time, context information.

In addition to the methods inherited from IDebugDocumentInfo, the IDebugDocumentProvider interface exposes the following methods.

Method Description

IDebugDocumentProvider::GetDocument

Causes the document to be instantiated if it does not already exist.