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)

Syntax

'Declaration
<GuidAttribute("7D960B16-7AF8-11D0-8E5E-00A0C911005A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsDebugger
[GuidAttribute("7D960B16-7AF8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface IVsDebugger
[GuidAttribute(L"7D960B16-7AF8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface class IVsDebugger
[<GuidAttribute("7D960B16-7AF8-11D0-8E5E-00A0C911005A")>]
[<InterfaceTypeAttribute()>]
type IVsDebugger =  interface end
public interface IVsDebugger

The IVsDebugger type exposes the following members.

Methods

  Name Description
Public method AdviseDebugEventCallback Used by a client to receive notifications of debugger events. In general, use AdviseDebuggerEvents and UnadviseDebuggerEvents instead.
Public method AdviseDebuggerEvents Used by a client to get notification of debugger events.
Public method AllowEditsWhileDebugging Indicates whether or not the language service allows writing to files during debugging.
Public method ExecCmdForTextPos Obsolete. Do not use.
Public method GetDataTipValue Retrieves debugger data tip text for a selected section of text.
Public method GetENCUpdate Retrieves the Edit and Continue (ENC) update for this program. A custom debug engine always returns E_NOTIMPL.
Public method GetMode Returns the current debugger mode, a value in the DBGMODE enumeration such as DBGMODE_Break.
Public method InsertBreakpointByName Inserts a breakpoint at a named location in the program, such as a function name.
Public method IsBreakpointOnName Tests for a breakpoint set on a named location.
Public method LaunchDebugTargets Launches or attaches to the specified processes under the control of the debugger.
Public method ParseFileRedirection Parses the command line contained in the argument string, and returns the arguments and handles to any redirected output.
Public method QueryStatusForTextPos Obsolete. Do not use.
Public method RemoveBreakpointsByName Removes a breakpoint at a named location in the program, such as a function name.
Public method ToggleBreakpointByName Toggle a breakpoint at a named location in the program, such as a function name.
Public method UnadviseDebugEventCallback Used by a client to stop receiving notifications of debugger events. In general, use AdviseDebuggerEvents and UnadviseDebuggerEvents instead.
Public method UnadviseDebuggerEvents Used by a client to stop receiving notifications of debugger events. Requires the cookie returned by AdviseDebuggerEvents.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace