Export (0) Print
Expand All

IVsLanguageDebugInfo Interface

Implement to support debugging for your language service.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public interface IVsLanguageDebugInfo

The IVsLanguageDebugInfo type exposes the following members.

Public methodGetLanguageIDReturns the corresponding debugger back-end "language ID".
Public methodGetLocationOfNameDeprecated. Do not use.
Public methodGetNameOfLocationGenerates a name for the given location in the file.
Public methodGetProximityExpressionsGenerates proximity expressions.
Public methodIsMappedLocationReturns whether the location contains code that is mapped to another document, for example, client-side script code.
Public methodResolveNameDisambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
Public methodValidateBreakpointLocationValidates 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.

Notes for Implementers

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.

© 2015 Microsoft