共用方式為


__VSDBGLAUNCHFLAGS3 Enum

Definition

Specifies flags that control how the debugger is started.

This enumeration supports a bitwise combination of its member values.

public enum class __VSDBGLAUNCHFLAGS3
public enum class __VSDBGLAUNCHFLAGS3
enum __VSDBGLAUNCHFLAGS3
[System.Flags]
public enum __VSDBGLAUNCHFLAGS3
[<System.Flags>]
type __VSDBGLAUNCHFLAGS3 = 
Public Enum __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