I am doing some long-winded code generation at run-time using expression trees. But once I've done the Expression.Lambda<Foo>(methodBody, objArg).Compile()
everything is turned into a black box. I am wondering, what is the best approach and tools to
- Debug in case something fails? I haven't found a way to step-debug my code
- Get an overview of the generated IL