Reporting .exe file location rather the code file location

May 5, 2016 at 3:26 PM
I need some help setting VLD. I have it on three computer, but only one is working properly. Two are windows 7 (one is working), one is windows 10. All are using Visual Studio 2015 community.

In the ones that are not working, I do not get the code file stack trace. Instead I get the executable file stack trace. It looks a bit like this:

tester.exe!0x011CDA30()
tester.exe!0x011CDA68()
tester.exe!0x011CDD30()
tester.exe!0x011CDA30()
tester.exe!0x011CA406()
...
May 10, 2016 at 8:28 PM
Hi,
I think I had the same issue a while back.
What I did to solve it was:
In the project Property (right click the project in VS, and select Properties), go to Linker->Debugging.
The "Generate debug info" flag was for me set to Optimize for linking, when I changed it to Optimize for debug it gave me correct stack traces.

Hope this helps.