Minidump characters will not load in release mode

I am trying to debug mini beats using VS 2010.

While the minidumps that are generated by my application that was created in "debug mode" work fine and can be properly debugged, mini-copies created using the application built into the "Release Mode" do not work. By this I mean that I am greeted with "No Source Available" when debugging minidump, because there is something wrong with the characters.

The "Symbol Status" in the "Modules" window shows: "There are no symbols in the symbol file."

If I load characters from the Symbol Path, I get "The corresponding character file was not found in this folder." Of course, this is incorrect (I knew this all the time, but just in case, I checked whether they really correspond to ChkMatch.exe, and they do it).

I was able to figure out which of the built-in switches make minidumps unusable - these are “Optimize code” and “Debugging information”. The only way to make mini-computers “work” is to uncheck the “Optimize code” box and use the “full” debugging information (no, pdb-only does not work). Both of them have performance, and I would really like to avoid using this type of assembly to release a version of my application.

Does anyone know why these two switches make mini transitions invincible?

Thanks.

+4
source share
1 answer

After many trial and error, I finally realized what the problem was. I am posting this to anyone who is facing the same issue.

The solution is to uncheck "Include only my code" in "Tools / Options / Debugging / General". Be sure to stop debugging and then run it again for the change to take effect.

+5
source

Source: https://habr.com/ru/post/1437285/


All Articles