If you have a crash, you can get information about where the crash occurred, whether you have debugging or release builds. And you can see the call stack even if you are on a computer that does not have source code.
To do this, you need to use the PDB file that was created with your EXE. Place the PDB file in the same directory as the EXE that crashed. Note. Even if you have the same source code, creating twice and using the first EXE and the second PDB will not work. You need to use the exact PDB that was built with your EXE.
Then attach the debugger to the process that crashed. Example: windbg or VS.
Then just check your call stack and also open your threads window. You will need to select the thread that crashed and check it in that thread. Each thread has a different call stack.
If you already have your VS debugger, it will automatically go to the source code, which causes a crash for you.
If an accident occurs inside the library that you are using, you do not have a PDB. You cannot do anything.
Brian R. bondy
source share