Share via


IVsLanguageDebugInfo Interface

Definition

Implement to support debugging for your language service.

public interface class IVsLanguageDebugInfo
public interface class IVsLanguageDebugInfo
__interface IVsLanguageDebugInfo
[System.Runtime.InteropServices.Guid("F30A6A07-5340-4C0E-B312-5772558B0E63")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLanguageDebugInfo
[System.Runtime.InteropServices.Guid("F30A6A07-5340-4C0E-B312-5772558B0E63")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLanguageDebugInfo
[<System.Runtime.InteropServices.Guid("F30A6A07-5340-4C0E-B312-5772558B0E63")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLanguageDebugInfo = interface
[<System.Runtime.InteropServices.Guid("F30A6A07-5340-4C0E-B312-5772558B0E63")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLanguageDebugInfo = interface
Public Interface IVsLanguageDebugInfo
Derived
Attributes

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.

Methods

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.

Applies to