title: Is it possible to debug code compiled at runtime?
body: <p>I have a need to compile some code using <a href="http://msdn.microsoft.com/en-us/library/system.codedom.compiler.codedomprovider.compileassemblyfromsource.aspx" rel="noreferrer"><code>CodeDomProvider.CompileAssemblyFromSource</code></a>. How would one go about debugging it? Basically, I want to compile it, create instance of a type and then step into the code for the type.</p>