[IronPython] Debugging IronPython script code

Dino Viehland dinov at microsoft.com
Sun Oct 12 21:21:20 CEST 2008


You can set DebugMode = true on a ScriptRuntimeSetup object.  If you're using the Python class you can pass a Dictionary object to CreateRuntime with "Debug" = "true" and we'll set it for you.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Rainer Worbis
Sent: Sunday, October 12, 2008 12:10 PM
To: Users at lists.ironpython.com
Subject: [IronPython] Debugging IronPython script code

Hallo all,

is there a possibility to debug IronPython code that is executed with ScriptSource.Execute or CompiledCode.Execute within VisualStudio?
Setting breakpoints in the python code will can be done by System.Diagnostics.Debugger.Break() - the code breaks but I don't know how to tell VS to get into my code.

Rainer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081012/cf80c3c5/attachment.html>


More information about the Ironpython-users mailing list