共用方式為


__VSDBGLAUNCHFLAGS Enum

Definition

Specifies flags that control how the debugger is started.

This enumeration supports a bitwise combination of its member values.

public enum class __VSDBGLAUNCHFLAGS
public enum class __VSDBGLAUNCHFLAGS
enum __VSDBGLAUNCHFLAGS
[System.Flags]
public enum __VSDBGLAUNCHFLAGS
[<System.Flags>]
type __VSDBGLAUNCHFLAGS = 
Public Enum __VSDBGLAUNCHFLAGS
Inheritance
__VSDBGLAUNCHFLAGS
Attributes

Fields

Name Value Description
DBGLAUNCH_Silent 1

Start the debugger without prompting the user

DBGLAUNCH_LocalDeploy 2

Passed to M:Microsoft.VisualStudio.Shell.Interop.IVsDebuggableProjectCfg.DebugLaunch(System.UInt32) to allow optimizations.

DBGLAUNCH_NoDebug 4

Launches without attaching a debugger.

DBGLAUNCH_DetachOnStop 8

Detaches instead of terminating when debugging stopped.

DBGLAUNCH_Selected 16

Launches selected project instead of startup project.

DBGLAUNCH_StopDebuggingOnEnd 32

When this process ends, debugging is stopped.

DBGLAUNCH_WaitForAttachComplete 64

When DLO_LaunchByWebServer, waits for the attachment to finish before continuing to launch other targets.

Remarks

COM Signature

From vsshell.idl:

These flags are passed to IVsDebuggableProjectCfg and IVsSolutionBuildManager2 methods to specify options in launching the debugger.

Applies to