Skip to content

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

Debugging

TheSoftwareProgrammer View All

I like science and writing software.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: