View dynamic code in Visual Studio
Posted
by Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2010-04-05T15:57:14Z
Indexed on
2010/04/05
16:03 UTC
Read the original article
Hit count: 292
I generate a dynamic assembly with CSharpCodeProvider, from a C# source saved into a string.
I can run the synamic code at runtime, but if I pause the execution Visual Studio doesn't show me the dinamic source code in the call stack. It says "External code" and I can't step into that source code.
I think VS can't find PDB or other debug info. Can you help me?
© Stack Overflow or respective owner