Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
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.

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.

Community Additions

© 2015 Microsoft