Compartir a través de


__VSDBGLAUNCHFLAGS3 Enumeration

Specifies flags that control how the debugger is started.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration __VSDBGLAUNCHFLAGS3
[FlagsAttribute]
public enum __VSDBGLAUNCHFLAGS3
[FlagsAttribute]
public enum class __VSDBGLAUNCHFLAGS3
[<FlagsAttribute>]
type __VSDBGLAUNCHFLAGS3
public enum __VSDBGLAUNCHFLAGS3

Members

Member name Description
DBGLAUNCH_WaitForEvent Launch the debugger when an event is fired.

Remarks

DBGLAUNCH_WaitForEvent uses the command line of the program being debugged to pass in a named event handle. The program being debugged must set the handle before launch will continue. The name is a random GUID generated by the debugger. The debugger launches the program being debugged with VsDebugTargetInfo2.LaunchFlags set to DBGLaunch_WaitForEvent, and in VsDebugLaunchTarget2.bstrArg, the command line of the program being debugged must contain "-debugevent $eventName$". When the program being debugged is ready, it uses the OpenEvent and SetEvent methods to signal the debugger that it can continue with the launch.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace