Haibo's blog has some info on this: 
http://blogs.msdn.com/haibo_luo/archive/2007/08/03/4210344.aspx

It has a debugger proxy which enables old-class members to show up in VS.  For 
other class members you'll generally look in self.__dict__ or 
self.__class__.__dict__ for class members.

I don't think there's a great way to look at module globals right now. 
Technically if you know the module type you could find it's static __dict__ 
field but there's no easy way to find the module type.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 12:50 PM
To: Discussion of IronPython
Subject: [IronPython] How to find class and module variables when debugging 
IronPython

When debugging an IronPython script I can see local variables in mdbg or
cordebug.  However, I cannot find a way to get class (self) and module
variables.  Is there anyway to do this?  It's ok if it requires several
steps like going up the stack frame and finding a symbol reference and
then reading the value out of a symbol table.

Thanks,

David
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to