共用方式為


IVsDebugger2 Members

Include Protected Members
Include Inherited Members

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

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

See Also

Reference

IVsDebugger2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace