共用方式為


__VSDBGLAUNCHFLAGS 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 (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration __VSDBGLAUNCHFLAGS
'用途
Dim instance As __VSDBGLAUNCHFLAGS
[FlagsAttribute]
public enum __VSDBGLAUNCHFLAGS
[FlagsAttribute]
public enum class __VSDBGLAUNCHFLAGS
[<FlagsAttribute>]
type __VSDBGLAUNCHFLAGS
public enum __VSDBGLAUNCHFLAGS

Members

Member name Description
DBGLAUNCH_Silent Start the debugger without prompting the user
DBGLAUNCH_LocalDeploy Passed to M:Microsoft.VisualStudio.Shell.Interop.IVsDebuggableProjectCfg.DebugLaunch(System.UInt32) to allow optimizations.
DBGLAUNCH_NoDebug Launches without attaching a debugger.
DBGLAUNCH_DetachOnStop Detaches instead of terminating when debugging stopped.
DBGLAUNCH_Selected Launches selected project instead of startup project.
DBGLAUNCH_StopDebuggingOnEnd When this process ends, debugging is stopped.
DBGLAUNCH_WaitForAttachComplete 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace