GetIVsDebugger Method
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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.

© 2015 Microsoft