部署在IIS中.PDB文件。任何好处? [英] Deploying .PDB files in IIS. Any benefit?

查看:768
本文介绍了部署在IIS中.PDB文件。任何好处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我部署ASP.NET和Web服务解决方案,以IIS为发展服务器。它看起来像这样做的工作部署所有的.pdb文件过的最后一个人。我问了一下,被告知,他们在日志中提供更好的堆栈跟踪信息,如果他们留在服务器上。

I am deploying ASP.NET and Web Service solutions to IIS for a development server. It looks like the last person that did this job deployed all the .pdb files too. I asked about it, and was told that they "provide better stack trace info in the logs" if they are left on the server.

有没有道理呢?我一直留在他们身后,从来没有部署他们比我的本地机器上其他任何地方。

Is there any truth to this? I've always left them behind, never deploying them to anywhere other than my local machine.

对于内部开发IIS服务器(不生产,不接触到外面的世界)是没有任何理由或不部署的.pdb文件?这有什么不好,可能发生吗?难道他们真的提供任何利益?

For an internal development IIS server (not production, not accessible to the outside world) is there any reason to or not to deploy the .pdb files? Is there anything bad that could happen? Do they really provide any benefit?

推荐答案

如果你正在登录异常,然后部署PDB文件确保例外包括行号(这样的史蒂芬答洛韦已通知我在许多场合;))

If you are logging exceptions, then deploying the PDB files ensures that the exceptions include line numbers (so Steven A. Lowe has informed me on many occasions ;) )

这篇关于部署在IIS中.PDB文件。任何好处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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