This topic has not yet been rated - Rate this topic

IVsDebugger Interface

Provides access to the current debugger so that the package can listen for debugger events. You can get an instance of this interface from the GetIVsDebugger method of the LanguageService service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
[GuidAttribute("7D960B16-7AF8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface IVsDebugger

The IVsDebugger type exposes the following members.

  NameDescription
Public methodAdviseDebugEventCallbackUsed by a client to receive notifications of debugger events. In general, use AdviseDebuggerEvents and UnadviseDebuggerEvents instead.
Public methodAdviseDebuggerEventsUsed by a client to get notification of debugger events.
Public methodAllowEditsWhileDebuggingIndicates whether or not the language service allows writing to files during debugging.
Public methodExecCmdForTextPosObsolete. Do not use.
Public methodGetDataTipValueRetrieves debugger data tip text for a selected section of text.
Public methodGetENCUpdateRetrieves the Edit and Continue (ENC) update for this program. A custom debug engine always returns E_NOTIMPL.
Public methodGetModeReturns the current debugger mode, a value in the DBGMODE enumeration such as DBGMODE_Break.
Public methodInsertBreakpointByNameInserts a breakpoint at a named location in the program, such as a function name.
Public methodIsBreakpointOnNameTests for a breakpoint set on a named location.
Public methodLaunchDebugTargetsLaunches or attaches to the specified processes under the control of the debugger.
Public methodParseFileRedirectionParses the command line contained in the argument string, and returns the arguments and handles to any redirected output.
Public methodQueryStatusForTextPosObsolete. Do not use.
Public methodRemoveBreakpointsByNameRemoves a breakpoint at a named location in the program, such as a function name.
Public methodToggleBreakpointByNameToggle a breakpoint at a named location in the program, such as a function name.
Public methodUnadviseDebugEventCallbackUsed by a client to stop receiving notifications of debugger events. In general, use AdviseDebuggerEvents and UnadviseDebuggerEvents instead.
Public methodUnadviseDebuggerEventsUsed by a client to stop receiving notifications of debugger events. Requires the cookie returned by AdviseDebuggerEvents.
Top

The DebugLaunch can add or modify parameters passed to the LaunchDebugTargets to, for example, launch a custom debug engine.

Notes to Implementers

The environment implements this interface.

Notes to Callers

This interface is used by DebugLaunch.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.