Delen via


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)

Syntax

'Declaration
<GuidAttribute("F30A6A07-5340-4C0E-B312-5772558B0E63")> _
<InterfaceTypeAttribute()> _
Public Interface IVsLanguageDebugInfo
[GuidAttribute("F30A6A07-5340-4C0E-B312-5772558B0E63")]
[InterfaceTypeAttribute()]
public interface IVsLanguageDebugInfo
[GuidAttribute(L"F30A6A07-5340-4C0E-B312-5772558B0E63")]
[InterfaceTypeAttribute()]
public interface class IVsLanguageDebugInfo
[<GuidAttribute("F30A6A07-5340-4C0E-B312-5772558B0E63")>]
[<InterfaceTypeAttribute()>]
type IVsLanguageDebugInfo =  interface end
public interface IVsLanguageDebugInfo

The IVsLanguageDebugInfo type exposes the following members.

Methods

  Name Description
Public method GetLanguageID Returns the corresponding debugger back-end "language ID".
Public method GetLocationOfName Deprecated. Do not use.
Public method GetNameOfLocation Generates a name for the given location in the file.
Public method GetProximityExpressions Generates proximity expressions.
Public method IsMappedLocation Returns whether the location contains code that is mapped to another document, for example, client-side script code.
Public method ResolveName Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
Public method ValidateBreakpointLocation Validates the given position as a place to set a breakpoint.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace