Search code examples
c++visual-studio-2008exceptionwindows-7release-mode

how can i diagnose exception in window 7 release mode compilation with VC 2008


i have strange problem , my application (exe) is working fine in debug mode in windows 7 but stop to work with exception when compiling in release mode . how can i debug the program to find what is causing the exception this is application with more then 300,000 lines of code ..


Solution

  • Compile in Release mode but create the .pdb files: How to generate PDB’s for .net managed projects in release mode?

    Deploy the .pdb files to same folder as the .exe.

    Then attach to process.