Skip to content

feature request: inspect variables in a monty session? #279

@ogrodnek

Description

@ogrodnek

Apologies if this already exists and I'm missing it!

I've been playing around building a browser-based Python REPL using MontyRepl.

Is there a way to see what variables have been defined?

I know I can read a variable's value if I know its name (repl.feed_run('x') returns the value), but I can't see what variables have been defined.

I wanted to be able to have an inspector panel showing defined vars and values as we step through.

The first thing that came to mind was just globals for a repl session, but I think more generally it seems like it would also be great to have something at the function snapshot level for locals? maybe even per frame?

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions