Partager via


IVsDebugger2 Interface

Provides additional access to the debugger. You can get an instance of this interface from the SVsShellDebugger (SID_SVsShellDebugger) service. This interface extends IVsDebugger.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("B33300FB-FEFE-4E00-A74A-17A5EED1B1ED")> _
Public Interface IVsDebugger2
[InterfaceTypeAttribute()]
[GuidAttribute("B33300FB-FEFE-4E00-A74A-17A5EED1B1ED")]
public interface IVsDebugger2
[InterfaceTypeAttribute()]
[GuidAttribute(L"B33300FB-FEFE-4E00-A74A-17A5EED1B1ED")]
public interface class IVsDebugger2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("B33300FB-FEFE-4E00-A74A-17A5EED1B1ED")>]
type IVsDebugger2 =  interface end
public interface IVsDebugger2

The IVsDebugger2 type exposes the following members.

Methods

  Name Description
Public method ConfirmStopDebugging Displays a dialog and message to confirm the user wants to stop debugging.
Public method CreateDataTip Creates an enhanced data tip object.
Public method EnumDebugEngines Returns an enumerator for the active debugging engines. The enumerator provides the GUIDs for the engines.
Public method GetConsoleHandlesForProcess Provides the standard console handles for the debugger so that another process can redirect its standard handles to the debug window.
Public method GetEngineName Given the GUID of a debugging engine, returns the name of the engine. Use this method with EnumDebugEngines to retrieve the names of all active debugging engines.
Public method GetInternalDebugMode Gets the internal debugger mode.
Public method GetOutputHandleForProcess Gets an output handle for a process.
Public method GetSymbolPath Gets the current symbol path and cache settings.
Public method GetUseQuickConsoleOptionSetting Gets options settings for Use Quick Console.
Public method InsertBreakpointByName Inserts a breakpoint at a named location in the program, such as a function name.
Public method IsEngineCompatible Checks the compatibility of a debugging engine with other debugging engines.
Public method LaunchDebugTargets2 Launches or attaches to the specified processes under the control of the debugger.
Public method ShowSource Displays a source file in the IDE. Takes as arguments a pointer to an IUnknown interface that can be queried for IDebugDocumentContext2 and display options.
Public method ToggleUseQuickConsoleOption Sets the Use Quick Console option.

Top

Remarks

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

Notes to Callers

DebugLaunch uses this interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace