IDebugDocumentContext2
This interface represents a position in a source file document.
IDebugDocumentContext2 : IUnknown
Notes for Implementers
The debug engine (DE) implements this interface as part of its support for source code level debugging. In addition to a position in source code, this interface supplies methods for comparing contexts and navigating through a source code document.
Notes for Callers
Methods on several interfaces, most typically the IDebugStackFrame2::GetDocumentContext and IDebugCodeContext2::GetDocumentContext interfaces, return this interface.
Methods in Vtable Order
The following table shows the methods of IDebugDocumentContext2.
Method |
Description |
---|---|
Gets the document that contains this document context. |
|
Gets the displayable name of the document that contains this document context. |
|
Retrieves a list of all code contexts associated with this document context. |
|
Gets the language associated with this document context. |
|
Gets the file statement range of this document context. |
|
Gets the file source range of this document context. |
|
Compares this document context to a given array of document contexts. |
|
Moves the document context by a given number of statements or lines. |
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll
See Also
Reference
IDebugCanStopEvent2::GetDocumentContext
IDebugActivateDocumentEvent2::GetDocumentContext