[IronPython] Debugging IronPython script code
Rainer Worbis
r.worbis at cubido.at
Mon Oct 13 06:52:53 CEST 2008
I got as far as that - when the breakpoint is hit - VS pops up but not
in some python code but in the call to Execute - the python code is
marked as external code.
So is there a possibility to have VS show the script code?
Rainer
Von: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] Im Auftrag von Dino Viehland
Gesendet: Sonntag, 12. Oktober 2008 21:21
An: Discussion of IronPython
Betreff: Re: [IronPython] Debugging IronPython script code
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/20081013/2309e257/attachment.html>
More information about the Ironpython-users
mailing list