Skip to content

Request for a set of function tool for debugging #123993

@dongrixinyu

Description

@dongrixinyu

Feature or enhancement

Proposal:

I am using VSCode to debug CPython source codes. And I encountered with many cases where many PyObject* can not be viewed through the VARIABLES screen as below.

As this picture shows, the variable locals is a PyDictObject*, I still have no idea what specific object in this variable. So, how could I check the infomation inside the Python Objects like dict, list, set, int, etc. when debugging.

For example, I know that using PyBytes_AsString can check the bytes info. So what about others?

image

Is it nessesary to designed a set of funtions to show infos inside Python Objects?

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions