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.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public IVsDebugger GetIVsDebugger()

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsDebugger

If successful, returns an IVsDebugger object; otherwise, returns a null value.

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.

Return to top