简体   繁体   English

pdb文件(Visual Studio)

[英]pdb file ( visual studio )

I want to send a debug executable to a client so I could replicate the crash by loading the pdb file. 我想将调试可执行文件发送给客户端,以便可以通过加载pdb文件来复制崩溃。 For this purpose, I created a debug build. 为此,我创建了一个调试版本。 Should I send both the executable and pdb to the client . 我是否应该将可执行文件和pdb都发送给客户端。

Please advise 请指教

If client going to re-compile/compile @ their end and run the code then NO, that's not needed. 如果客户端要在其末端重新编译/编译并运行代码,则不需要,这不是必需的。 Since already generated a debug build; 由于已经生成了调试版本; once at client side they run the application in debug mode; 一旦在客户端,他们便以debug模式运行应用程序; same pdb file will get generated. 将会生成相同的pdb文件。

Else, YES; 否则,是的; you will have to send the pdb file as well along with the exe . 您还必须与exe一起发送pdb文件。

But this pdb file will only have your .NET application related debug info. 但是,此pdb文件将仅包含与.NET应用程序相关的调试信息。 So, if the crash is due to some other environmental issue then that has to be captured separately. 因此,如果坠机是由于其他一些环境问题造成的,则必须单独捕获。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM