__VSDBGLAUNCHFLAGS3 Enum

Definition

Specifies flags that control how the debugger is started.

This enumeration supports a bitwise combination of its member values.

C++/CX
public enum class __VSDBGLAUNCHFLAGS3
Inheritance
__VSDBGLAUNCHFLAGS3
Attributes

Fields

Name Value Description
DBGLAUNCH_WaitForEvent 2048

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.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022