有没有在VS插件或独立的应用程序的任何形式的IL级调试器?
Is there any IL level debugger in form of a VS plugin or standalone application?
Visual Studio的调试器是伟大的,但它可以让你在任HLL code级或汇编语言,你不能调试IL调试。 看来,在某些情况下,有机会在IL级调试它将是有益的。
Visual studio’s debugger is great, but it allows you to debug on either HLL code level or assembly language, you can’t debug IL. It seems that in some situations it would be useful to have an opportunity to debug at IL level.
在特定的可能调试在code一个问题,你没有来源时会有所帮助。
In particular it might be helpful when debugging a problem in the code that you don't have the source of.
这是值得商榷的,如果当你没有来源,但无论如何,它实际上是有用的调试IL。
It is arguable if it is actually useful to debug IL when you don't have the source, but anyway.
要做到这一点,最好的方法是使用ILDASM拆解管理的二进制文件,这将产生IL指令。然后重新编译使用ILASM,当你火起来的Visual Studio调试器IL源$ C $ C,你将能够逐步通过原始IL。
The best way to do this is to use ILDASM to disassemble the managed binary, which will generate the IL instructions. Then recompile that IL source code using ILASM, when you fire up the Visual Studio debugger you will be able to step through the raw IL.
在反汇编foo.exe的/OUT=foo.exe.il / SOURCE 在ILASM foo.exe.il / DEBUG我已经写了关于这个主题的一篇博客文章: 如何调试编译器生成code 。
I've written a blog post about this topic at: How to debug Compiler Generated code.
上一篇:获取从数据库中存储的数据到ListView控件。数据库中、控件、数据、ListView
下一篇:亚马逊SNS:如何使用Amazon .NET SDK通过令牌(registrationId)获得EndpointArn?亚马逊、令牌、如何使用、SNS