dodona-edu / papyros

📜 Scratchpad for Python and JS, running in the browser.
https://papyros.dodona.be/
MIT License
18 stars 8 forks source link

Watch variables/expressions #132

Open pdawyndt opened 2 years ago

pdawyndt commented 2 years ago

Many debuggers allow to watch variables/expressions while stepping through the code. Kris Werbrouck (secundary school teacher) asked whether this could also be supported in Papyros. He uses this feature in his own classroom as part of the Thonny IDE for beginners. Maybe also worthwhile to look into the features this IDE supports.

image

winniederidder commented 2 years ago

Running code in Snoop (as can be done in #116 ) shows variables and their values at every point they change. In #109, I mentioned displaying relevant local variables while stepping through code, but we didn't decide on a way to display them yet. Adding PythonTutor support should also help with watching variables change over time.

(Accidentally hit close with comment)