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!
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!