Example of CallMethod

Is it possible to change the IScriptEdit to DebugCodeEdit in the example CallMehod? And add the ScriptDebugger into the example. Then I can edit, compile, debug and run the script in this example? Thanks.

Hi,

Please take a look at the DebugMyScript project - this project is executing the same script and allows separate debugger application to debug that script.

With C#/Visual Basic it’s not quite possible to debug script that runs in the same process, you can read more about this issue here:

TypeScript/IronPython and Python scripters (the latter is yet to be released) do not have such limitation and these scripts can be debugged in the same process.

Regards,
Dmitry