Udostępnij za pośrednictwem


LanguageService.GetIVsDebugger Method

Returns an IVsDebugger object representing the currently available debugger in order to listen for debugger events.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Function GetIVsDebugger As IVsDebugger
'Usage
Dim instance As LanguageService 
Dim returnValue As IVsDebugger 

returnValue = instance.GetIVsDebugger()
public IVsDebugger GetIVsDebugger()
public:
IVsDebugger^ GetIVsDebugger()
public function GetIVsDebugger() : IVsDebugger

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsDebugger
If successful, returns an IVsDebugger object; otherwise, returns a null value.

Remarks

This method calls LanguageService.GetService with the GUID of the IVsDebugger interface. If LanguageService.GetService returns an object, this method calls AdviseDebuggerEvents.

This method is called by the ViewFilter class when obtaining tool tip text for the identifier under the cursor. This method is also called by IsDebugging to determine if the debugger is active.

.NET Framework Security

See Also

Reference

LanguageService Class

LanguageService Members

Microsoft.VisualStudio.Package Namespace