/DebugExe (devenv.exe)/DebugExe (devenv.exe)

開啟要偵錯的指定可執行檔。Opens the specified executable file to be debugged.

語法Syntax

devenv /DebugExe ExecutableFile

引數Arguments

  • ExecutableFileExecutableFile

    必要。Required. .exe 檔案的路徑和檔案名稱。The path and file name of an .exe file. 如果 .exe 檔案找不到或不存在,則不會顯示任何警告或錯誤,而 Visual Studio 會正常啟動。If the .exe file isn't found or doesn't exist, no warning or error is displayed, and Visual Studio starts normally.

備註Remarks

ExecutableFile 參數後面的任何字串都會當成引數傳遞給該檔案。Any strings following the ExecutableFile parameter are passed to that file as arguments.

範例Example

下列範例會開啟 MyApplication.exe 檔案以進行偵錯。The following example opens the file MyApplication.exe for debugging.

devenv /debugexe MyApplication.exe

另請參閱See also