29
Memory Graph Web Debugger (programming.dev)
submitted 1 month ago* (last edited 1 month ago) by bterwijn@programming.dev to c/python@programming.dev

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.

top 6 comments
sorted by: hot top controversial new old
[-] rimu@piefed.social 3 points 1 month ago
[-] bterwijn@programming.dev 1 points 1 month ago

Appreciated!

[-] ggtdbz@lemmy.dbzer0.com 2 points 1 month ago

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 1 points 1 month ago* (last edited 1 month ago)

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 points 1 month ago* (last edited 1 month ago)

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 points 1 month ago

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.

this post was submitted on 30 Aug 2025
29 points (96.8% liked)

Python

7508 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS