Memory Graph Web Debugger

Hi, I'm new, I'd like to share my new Memory Graph Web Debugger that you can use to visualize and debug your Python data structures with just one click. This is an example of a binary tree implementation. I feel this tool could level up Python education. I'm interested in your thoughts about it, feedback welcome.

30 points · 7 comments · view on lemmy.world

7 Comments

rimu@piefed.social · 3 pts · 360d (1 reply)

Wow this is amazing!

bterwijn@programming.dev · 1 pts · 360d

Appreciated!

urda@lebowski.social · 3 pts · 360d (1 reply)
[ removed ]
bterwijn@programming.dev · 1 pts · 360d

Thanks, I'm pretty stoked about it myself.

ggtdbz@lemmy.dbzer0.com · 2 pts · 359d (1 reply)

My programming has become extremely rusty (not a euphemism) and this might be something I could benefit from. Very interesting work

Although it’s hard to beat just sketching these out by hand. Maybe seeing what’s actually being set up in the code could be add new dimension to that.

bterwijn@programming.dev · 2 pts · 359d

Glad you like it. Sketching by hand should remain standard practice, but for beginners that might be difficult. First they need to learn the right mental model to think about Python data, and I hope memory_graph can help with that.

DapperPenguin@programming.dev · 2 pts · 359d (1 reply)

I love this, thank you for sharing. It would be nice if you linked directly to your repository next time instead whatever

https://memory-graph.com/#codeurl=https%3A%2F%2Fraw.githubusercontent.com%2Fbterwijn%2Fmemory_graph%2Frefs%2Fheads%2Fmain%2Fsrc%2Fbin_tree.py&timestep=0.2&play=

this link was. I'll add it below just for others.

https://github.com/bterwijn/memory_graph

bterwijn@programming.dev · 1 pts · 359d

Thanks for adding. The link I posted should give people a quick animation to directly see what is possible instead of having to read through things first. That GitHub repo link is also on hat page. But you are right that some would probably want to start with the repo, thanks for feedback.