LanguageService.GetIVsDebugger Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an IVsDebugger object representing the currently available debugger in order to listen for debugger events.
public:
Microsoft::VisualStudio::Shell::Interop::IVsDebugger ^ GetIVsDebugger();
public:
Microsoft::VisualStudio::Shell::Interop::IVsDebugger ^ GetIVsDebugger();
Microsoft::VisualStudio::Shell::Interop::IVsDebugger GetIVsDebugger();
public Microsoft.VisualStudio.Shell.Interop.IVsDebugger GetIVsDebugger ();
member this.GetIVsDebugger : unit -> Microsoft.VisualStudio.Shell.Interop.IVsDebugger
Public Function GetIVsDebugger () As IVsDebugger
Returns
If successful, returns an IVsDebugger object; otherwise, returns a null value.
Remarks
This method calls Microsoft.VisualStudio.Package.LanguageService.GetService with the GUID of the IVsDebugger interface. If Microsoft.VisualStudio.Package.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.