优势包括与您的版本的应用程序PDB文件的优缺点 [英] Advantages and disadvantages of including PDB files with your release application

查看:179
本文介绍了优势包括与您的版本的应用程序PDB文件的优缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VB.net应用程序。目前,该应用程序的发行版本产生不PDB文件。这给了我缺少有用的信息,如行号错误日志。 我期待在包括PDB文件将来的版本,但我想知道这样做的优点和缺点(性能明智的,大小明智,code安全明智的)

I've got a VB.net application. Currently the release version of the application is produced without a PDB file. This gives me error logs lacking useful details such as line numbers. I'm looking at including the PDB files with future builds but i'd like to know what the advantages and disadvantages of this are (performance wise, size wise, code security wise)

推荐答案

在部署调试符号您的应用程序,它变得很容易有人来沿线和逆向工程工作,其中有些人觉得不可取。同样地,你必须部署更多的文件和部署的项目变大。该PDB文件本身不会导致该应用获取任何慢,因为出货PDB并不总是preclude放弃优化(你就必须要小心 - 默认的调试项目设置往往不是优化输出时产生PDBS)。

When you deploy your debug symbols for your application, it becomes really easy for someone to come along and reverse-engineer your work, which some people find undesirable. Likewise, you have to deploy more files and your deployable project gets bigger. The PDB files themselves don't cause the app to get any slower, as shipping a PDB doesn't always preclude forgoing optimizations (you just have to be careful -- the default "Debug" project settings tend to not optimize your outputs when they generate PDBs).

这篇关于优势包括与您的版本的应用程序PDB文件的优缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆