[IronPython] embedded debugging
Shri Borde
Shri.Borde at microsoft.com
Sun Nov 12 02:15:51 CET 2006
I believe your breakpoint is in top-level global code of the module. In that case, this is a known limitation.
VisualStudio will display local variables of functions defined in IronPython. However, if you are executing top-level global code, the Python global variables are implemented as CLR static variables or sometimeas as a dictionary object held in a CLR static variable. The Locals window in VisualStudio does not display CLR global variables. As a result, you will not see the Python global variables.
What is needed is a visualizer to display CLR global variables. VisualStudio does support such a plug-in architecture. However, such a plug-in has not yet been implemented. We do want to improve such support in the future, but we have not gotten to this yet.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Paul Moore
Sent: Wednesday, November 08, 2006 10:12 AM
To: users at lists.ironpython.com
Subject: [IronPython] embedded debugging
I have an app that embedds IP runtime. I can set break points in the IP code but the debugger does not show any variables. The only variable is $line. All I can do is step through the code.
I have set the debuggable option on the engine
It is using CompiledCode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061111/68c27ba5/attachment.html>
More information about the Ironpython-users
mailing list