我需要可以从 DLL 文件(C# .NET 代码)生成 PDB 的东西,有没有免费程序可以做到这一点?
Even you have no sources and code obfuscated, you can create pdb by recompile with ildasm and ilasm:
PDB contains debug symbols related to DLL, and would normally be built together with the DLL. To enable generating pdb files go to project Properties , Build tab, Advanced... button and select in Debug Info field "pdb-only" or "full":
If you need to debug a thirdparty assembly without sources, then dotPeek and ReSharper will be extremely helpful having an option to generate PDB from DLL. In ReSharper, this can be done through ReSharper > Windows > Assembly Explorer by opening necessary assembly and clicking " Generate Pdb... ":
You can use ILSpy . This is the handy free app for disassembling and generating pdb for managed dll's.
您需要源代码才能生成 PDB。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.