GetIVsDebugger Method
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

LanguageService.GetIVsDebugger Method

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

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in microsoft.visualstudio.package.languageservice.dll)

public IVsDebugger GetIVsDebugger ()
public IVsDebugger GetIVsDebugger ()
public function GetIVsDebugger () : IVsDebugger

Return Value

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.

© 2016 Microsoft