5

I'm using the Mono.CSharp Evaluator to provide basic scripting functionality for my Windows application.

Ideally, I'd like to be able to debug and step through the scripts created in the application by inserting the Debugger.Break function into the script code.

It's possible to do this with the CSharpCodeProvider as described here: How to debug/break in codedom compiled code but I can't seem to find anything on how to do this with the Evaluator.

I've tried setting the GenerateDebugInfo flag and the OutputFile in the CompilerSettings, but haven't had much luck in getting it working.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.