您是否必须通过在发布下编译来部署 .pdb 文件? [英] Do you have to deploy the .pdb file with compiling under release?

查看:33
本文介绍了您是否必须通过在发布下编译来部署 .pdb 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否需要在release下编译部署.pdb文件?

Do you have to deploy the .pdb file with compiling under release?

为什么在您进行发布构建时它甚至编译 .pdb?

Why does it even compile a .pdb when you do a release build anyway?

推荐答案

不,您不需要部署它们.

No you do not need to deploy them.

至于为什么它们甚至内置于发布中.PDB 文件确实有几个用途,但主要用途(至少对我而言)是

As to why they are even built in release. A PDB file really has a couple of uses but the primary ones (at least for me) are

  1. 调试
  2. 分析

这两项任务都在发布二进制文件上有效完成,这就是发布版本包含 PDB 的原因.事实上,在调试 Watson 转储时,它 100% 的时间都是针对发布构建的.如果没有 PDB,我将不得不通过拆卸来查看 :(

Both of these tasks are validly done on release binaries which is why release builds include a PDB. In fact, when debugging Watson dumps it's 100% of the time against a release build. Without a PDB I would have to resort to looking through dissasembly :(

这篇关于您是否必须通过在发布下编译来部署 .pdb 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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