• Advertisement
Sign in to follow this  

MSVC 2017 can't find source file even though it can

Recommended Posts

I'm trying to debug my project, and for some reason MSVC 2017 can't find the source code  file.....even tho it says it can and the checksum matches.

Sometimes won't load the source file at all, other times it will load and I can start stepping through it, but then it errors out and says it can't find the code. I'm guessing some sort of optimization is happening, which is confusing the debugger?

Locating source for 'b:\projects\paroikos\src\dev_ui.cpp'. Checksum: MD5 {76 c2 7b ca ab 92 b8 c5 2d 4 10 c8 13 32 26 3f}
The file 'b:\projects\paroikos\src\dev_ui.cpp' exists.
Determining whether the checksum matches for the following locations:
1: b:\projects\paroikos\src\dev_ui.cpp Checksum: MD5 {76 c2 7b ca ab 92 b8 c5 2d 4 10 c8 13 32 26 3f} Checksum matches.
The debugger found source in the following locations:
1: b:\projects\paroikos\src\dev_ui.cpp Checksum: MD5 {76 c2 7b ca ab 92 b8 c5 2d 4 10 c8 13 32 26 3f}
The debugger will use the source at location 1.
Build command:

cl /GR- /MP /MT /WL /DPAROIKOS_EDITOR /DDEBUG /Z7 /nologo /EHsc /Fobin/ src/platform_windows.cpp  "opengl32.lib"  "User32.lib" "Gdi32.lib" /Febin/paroikos_editor /Fdbin/paroikos_editor /link

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Advertisement