qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.47k stars 3.99k forks source link

请问qbittorrent.pdb这个文件是有什么用? #21773

Closed klxq520 closed 2 weeks ago

klxq520 commented 2 weeks ago

Suggestion

No response

Use case

下载了5.0.1版本发现有qbittorrent.pdb这个文件,删除掉程序也能启动,我用的旧版本就没有这个文件,所以不知道它的作用是什么?删掉它有没有什么影响?

Extra info/examples/attachments

No response

xavier2k6 commented 2 weeks ago

@klxq520 Please post in English in future!

I don't know where you got qBittorrent previously that didn't have a qbittorrent.pdb file (can only assume portableapps or similar), however all official qBittorrent builds have this file included & it is required to provide proper debug symbols in case the program crashes.

klxq520 commented 1 week ago

@klxq520 Please post in English in future!

I don't know where you got qBittorrent previously that didn't have a qbittorrent.pdb file (can only assume portableapps or similar), however all official qBittorrent builds have this file included & it is required to provide proper debug symbols in case the program crashes.我不知道你以前从哪里得到的qBittorrent没有qbittorrent.pdb文件(只能假设是portableapps或类似文件,但是所有官方的qBittorrent版本都包含这个文件,并且需要提供适当的调试符号以防程序崩溃。

这个文件是必须的吗?请问它的作用是什么?我用的旧版本是绿色版的,竟然用到现在好几年了也没出什么问题。

klxq520 commented 1 week ago

@klxq520

If possible, please post your comments in English. 如果条件允许,还请使用英语发表评论。

qBittorrent/CONTRIBUTING.md at master · qbittorrent/qBittorrent

  • Issues, pull requests, and comments must always be in English.

这个文件是必须的吗?请问它的作用是什么?我用的旧版本是绿色版的,竟然用到现在好几年了也没出什么问题。

#19750 (comment)

The PDB file isn't strictly necessary for launching the application. However, it is there to provide us with a meaningful stacktrace in the case of a crash.PDB 文件对于启动应用程序并不是绝对必要的。但是,它可以在崩溃的情况下为我们提供有意义的堆栈跟踪。 And this has helped us diagnose a lot of crashes until now.到目前为止,这已经帮助我们诊断了很多车祸。

感谢