I use Mono.CSharp Evaluator to provide basic scripting functions for my Windows application.
Ideally, I would like to be able to debug and execute scripts created in the application by inserting the Debugger.Break function into the script code.
This can be done using CSharpCodeProvider, as described here: How to debug / interrupt the code of compiled code , but I can not find anything about how to do this using the evaluator.
I tried setting the GenerateDebugInfo and OutputFile flag in CompilerSettings, but didn't have much luck in its work.
source
share