简体   繁体   English

诊断第三方程序集中的问题,C#.NET

[英]Diagnose issues in third party assembly, C# .NET

I want to find out how to diagnose issues in a third party assembly. 我想了解如何诊断第三方程序集中的问题。 I don't have source code of it. 我没有它的源代码。 Are there tools or methodologies? 有工具或方法吗?

Thanks 谢谢

我通常会使用Reflector来反汇编代码并查看它可能正在做什么。

You can go really oldschool and just decompile it with ILDasm.exe Of course that requires quite a bit of effort, and you have to be able to read IL. 你可以去真正的oldschool并使用ILDasm.exe反编译它当然需要相当多的努力,你必须能够阅读IL。

And of course .NET Reflector is the standard goto, although you have to pay for it now, because RegGate broke their promise to keep it free. 当然, .NET Reflector是标准的goto,虽然你现在必须付费,因为RegGate违背了保证免费的承诺。

Speaking of free, and just as good as Reflector ILSpy is an option too. 说到免费,和反射器一样好ILSpy也是一个选项。

The Reflector in it's pro version provides debugging into third party assemblies: http://www.reflector.net/vspro/ 它的专业版中的Reflector为第三方程序集提供调试: http//www.reflector.net/vspro/

(Though I've never tested it) (虽然我从未测试过它)

You can use JetBrian's dotPeek. 你可以使用JetBrian的dotPeek。 It free and supports .NET 1.0-4.0 assemblies. 它免费并支持.NET 1.0-4.0程序集。 Look here 这里

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

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