Hi All,
I'm currently trying to change the value for a variable in the debugger
using:
frame = findFrame(thread_id, frame_id)
exec '%s=%s' % (attr, expression) in frame.f_globals, frame.f_locals
it works well when the frame for the change is the topmost frame, but fails
otherwise...
I found so
Fabio Zadrozny wrote:
> frame = findFrame(thread_id, frame_id)
> exec '%s=%s' % (attr, expression) in frame.f_globals, frame.f_locals
The locals of a function are actually stored in an array.
When you access them as a dict using locals(), all you
get is a dict containing a copy of their current v