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

Andreas Nahr ClassDevelopment at A-SoftTech.com
Sat Oct 27 06:04:30 EDT 2007


akaik there is no integrated debugger support in any of the class libraries.
Neither through CodeDom, nor through Reflection.Emit.
You should be able to attach an external debugger (Mono or .Net) however
this is surely a non-trivial task.

-----Ursprüngliche Nachricht-----
Von: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Vikas N
Gesendet: Freitag, 26. Oktober 2007 17:35
An: mono-devel-list at lists.ximian.com; mono-list at lists.ximian.com
Betreff: [Mono-dev] System.CodeDom.Compiler and Debugging


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

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

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list