Is there any possibility to include *.pdb file into Release build to see error line number?

岁酱吖の 提交于 2019-12-07 00:50:09

问题


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.)?


回答1:


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.



来源:https://stackoverflow.com/questions/4152432/is-there-any-possibility-to-include-pdb-file-into-release-build-to-see-error-l

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!