STINNER Victor <vstin...@python.org> added the comment:

Currently, Tools/gdb/libpython.py uses PyFramePtr.iter_locals() which iterates 
on PyFrameObject.f_frame.localsplus.

There is a PyFramePtr.get_var_by_name() function which only checks for frame 
variables in PyFrameObject.f_frame.localsplus, or look up in globals and 
builtins. So it only supports some kinds of variables.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue47092>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to