IVsLanguageDebugInfo Interface
Implement to support debugging for your language service.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | GetLanguageID(IVsTextBuffer, Int32, Int32, Guid) | Returns the corresponding debugger back-end "language ID". |
![]() | GetLocationOfName(String, String, TextSpan[]) | Deprecated. Do not use. |
![]() | GetNameOfLocation(IVsTextBuffer, Int32, Int32, String, Int32) | Generates a name for the given location in the file. |
![]() | GetProximityExpressions(IVsTextBuffer, Int32, Int32, Int32, IVsEnumBSTR) | Generates proximity expressions. |
![]() | IsMappedLocation(IVsTextBuffer, Int32, Int32) | Returns whether the location contains code that is mapped to another document, for example, client-side script code. |
![]() | ResolveName(String, UInt32, IVsEnumDebugName) | Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name. |
![]() | ValidateBreakpointLocation(IVsTextBuffer, Int32, Int32, TextSpan[]) | Validates the given position as a place to set a breakpoint. |
Implement this interface if you want to support debugging for your language service. To do this, your language service must support a QueryService call for IVsLanguageDebugInfo.
IVsLanguageDebugInfo is implemented by the language service package and called by the debugger. To access the language service's implementation, the debugger calls QueryService with the language service as the service and IVsLanguageDebugInfo as the interface ID. It is suggested that you implement this interface on your main language service object, although it can be implemented on any object.
