[IronPython] TraceBackFrame, f_globals, f_locals

cold_fusion at fastmail.fm cold_fusion at fastmail.fm
Thu Feb 18 00:25:42 PST 2010


Hello,

I'm helping a coworker embed IronPython with some debugging functions
into a C# app (following DevHawks example).
The thing I don't understand is how the f_globals and f_locals fields
work when executing the main script, neither contains the global/local
names in the top most scope, but do work correctly when executing a
function withing the same code scope.

I know about the "$globalContext" name in the f_globals for the main
script, but would actually like to understand what's happening.

Regards,
Avi.




-- 
http://www.fastmail.fm - Does exactly what it says on the tin



More information about the Users mailing list