IL level code debugger,
Is there any IL level debugger in form of a VS plugin or standalone application?
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.
In particular it might be helpful when debugging a problem in the code that you don’t have the source of.
It is arguable if it is actually useful to debug IL when you don’t have the source, but anyway.
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 in debug mode using ILASM, when you fire up the Visual Studio debugger you will be able to step through the raw IL.
ildasm foo.exe /OUT=foo.exe.il /SOURCE
ilasm foo.exe.il /DEBUG
I’ve written a blog post about this topic at:
That’s the answer IL level code debugger, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.
The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you