[Mono-list] System.CodeDom.Compiler and Debugging

Vikas N Kumar vikasnkumar at users.sourceforge.net
Fri Oct 26 11:35:08 EDT 2007


Hi

I have written an application in which I write code inside a text box,
click a button that compiles the code using System.CodeDom.Compiler,
loads the code into memory and executes it.

This works fine until there is an error in the code that was written
in the text box, and I am not able to debug that using either Visual
Studio or Mono's debugger.

Do you have any suggestions ? Are there classes that .NET gives that I
can use in my application itself so that the application itself can
debug the code in the textbox at runtime ? System.Diagnostics doesn't
seem to do that though.

Is it possible for me to embed Mono's debugger inside an application
and get the debugger to debug the code that is typed in at runtime ?


Any help will be appreciated.

Thanks and Regards
Vikas Kumar

-- 
http://www.vikaskumar.org/


More information about the Mono-list mailing list