Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.33 KB

debugexe-devenv-exe.md

File metadata and controls

48 lines (34 loc) · 1.33 KB
title description ms.date ms.topic helpviewer_keywords author ms.author manager ms.subservice
-DebugExe (devenv.exe)
Learn how to use the DebugExe devenv command-line switch to open a specified executable file to be debugged.
12/10/2018
reference
Devenv, /DebugExe switch
DebugExe switch
/DebugExe [devenv.exe]
debugging executables
ghogen
ghogen
mijacobs
general-ide

/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