Muokkaa

Jaa


/DebugExe (devenv.exe)

Opens the specified executable file to be debugged.

Syntax

devenv /DebugExe ExecutableFile

Arguments

  • ExecutableFile

    Required. The path and file name of an .exe file. If the .exe file isn't found or doesn't exist, no warning or error is displayed, and Visual Studio starts normally.

Remarks

Any strings following the ExecutableFile parameter are passed to that file as arguments.

Visual Studio will parse any strings following the ExecutableFile parameter for matches in Devenv command-line switches. You can prevent Visual Studio from parsing a command-line switch by surrounding the switch with double quotes.

Example

The following example opens the file MyApplication.exe for debugging.

devenv /debugexe MyApplication.exe

See also