Reputation: 753
I made a project, all the settings are default.
When i run it in Debug mode (Build config = Debug) and face with exception - it dumps to my custom logging mechanism whith error line number, but when i run Release build - the same exception is logged without line number, only method throwing and call stack are logged.
Is there any possibility to enable detailed debug info in Release config (*.pdb files or smth.)?
Upvotes: 8
Views: 3225
Reputation: 1062995
On the Build tab (and when in the "Release" configuration), you can click Advanced... to change the Debug Info to "full", but note that this may make some compiler optimizations impossible.
Upvotes: 12