This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Mark.Shannon, ncoghlan, vstinner
Date 2022-03-22.14:53:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647960806.12.0.860299554046.issue47092@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-03-22 14:53:26vstinnersetrecipients: + vstinner, ncoghlan, Mark.Shannon
2022-03-22 14:53:26vstinnersetmessageid: <1647960806.12.0.860299554046.issue47092@roundup.psfhosted.org>
2022-03-22 14:53:26vstinnerlinkissue47092 messages
2022-03-22 14:53:26vstinnercreate