Debugging Lightweight CodeGen in VS
Haibo just posted about his debugger visualizer for dynamic methods. This is a pretty sweet piece of code for anyone who uses lightweight code generation and needs to debug the code they've emitted. Basically it adds a visualizer to DynamicMethod objects that enables you to dump out the IL of that method. (He also explains the code he uses to convert from IL bytes to ILDasm style representation, which can be used with the new MethodBody class that reflection exposes)