.NETters, I am using CSharpCodeProvider class to create an in-memory assembly. CompilerParameters.IncludeDebugInformation is set to true. The code compiles and executes as expected. If I add System.Diagnostics.Debugger.Break() to my code, the runtime prompts me to open a debugger (as expected). However, in the debugger, what I don't see is the source code for the compiled assembly. I can see the assembly language code for the function being executed. I guess the debugger (VS .NET) is unable to find the associated pdb file. I am wondering if I missed any compiler parameter option.
The source code to be compiled is obtained as user input from a text box. Thank you in advance for your help. Pradeep =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
