Debugging in Visual Studio 2017 with a Command Line Compiled (cl.exe) and Linked (link.exe) Debug Executable Example
Compile (cl.exe) with /Zi /Od /Fd
Link (link.exe) with /DEBUG /DEBUGTYPE:PDATA
The produced executables will contain the full path in the Dynamically Linked Libraries (DLLs) and Executables.
To debug in Visual Studio 2017 go to File > Open Project/Solution… and select your executable.
Categories