Why is there a pdb file in my Release directory?

前提是你 提交于 2019-11-29 15:04:25

You are right. PDB files are for debugging but you may need to debug release builds too. Saving PDBs of released builds is very important when you want to debug a customer issue and you have the crash dump file related to that issue.

By the way, generating PDB files does not harm compiler optimizations. If you don't ship it to the customer, there will be no performance implications.

It depends on the project settings. Just happens that in Release version a .pdb is also generated by default. It will not hurt you - just don't ship it to the customer.

To skip its creation go to Linker->Debugging in project settings and set "Generate Debug Info" to "No".

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