[IronPython] Debugging hosted python scripts

Dino Viehland dinov at microsoft.com
Thu Mar 31 18:53:25 CEST 2011

Jimmy wrote:
> If you're interested in building your own debugger, take a look at
> http://devhawk.net/2009/07/08/MicrosoftScriptingDebugging.aspx.
> Microsoft.Scripting.Debugging.dll gives you APIs for non-blocking debugging
> by rewriting the expression tree. This doesn't require the interpreter.

It's non-blocking in the same way that sys.settrace is non-blocking though, you
still need to pump messages while you're in sys.settrace if you want it to
feel like a non-blocking GUI API.  And that could eventually stack overflow if you
have lots of App -> Script -> App -> Script -> App -> Script transitions.  But
it is the right place to start looking.

More information about the Ironpython-users mailing list