Md Owais Farhan Akhter’s Post

Built C Trace: an interactive code execution tracker that lets you watch C programs run step-by-step, variable by variable. Instead of mentally tracing through code or debugging blindly, you paste C code and watch the stack and heap update in real time. Memory addresses, local variables, call stack, all visual. There's also a local AI tutor (via Ollama) that guides you through problems without spoiling answers. The technical challenge was getting live execution data out of GDB and syncing it to a React frontend fast enough to feel instant. Solved that with pygdbmi for breakpoint-based tracing and JSON serialization. Injecting breakpoints on every executable line, pulling frame data at each stop, and letting users scrub through execution like a video. Frontend is React 18 with Tailwind and Monaco Editor. Backend is FastAPI with Python. The tracer itself is GCC and GDB doing the heavy lifting. It's open source on GitHub. If you're learning C or teaching it, this thing actually shows you what's happening instead of making you guess. github : https://lnkd.in/dFvt6PDP (note: Currently working on a Cpp and Java version and frontend if fully vibe coded 😛)

  • graphical user interface, text, application

To view or add a comment, sign in

Explore content categories