Feedback wanted: Codetracer - a time-travel debugger for Python

Hi everyone,

The company that I am working for is developing a time-travelling debugger. I am working on adding Python support to it. We just released an initial version and although buggy I believe that it can already be used in real-world situations.

A time-travelling debugger is software which records the execution of a program in a trace and then can replay that trace in order to understand in detail how the program works. It allows for easier debugging and more thorough code reviews.

I use Python’s 3.12+ monitoring API to record the execution trace. It is possible to add filters so that we can trace only what we care about, and the monitoring API allows us to get better performance by disabling tracing for irrelevant code.

I am writing here to ask for feedback. The Python support is early in development and I am the only developer working on it. I want to know what directions would be most valuable to the community and focus on those.

Here is a demo of what we have right now: https://youtu.be/e2ctwMbpuCA?si=XsE_BZNpUQhVNAVf

The code of the main debugger is here: GitHub - metacraft-labs/codetracer: CodeTracer is a user-friendly time-traveling debugger designed to support a wide range of programming languages. , and the Python support is in the metacraft-labs/codetracer-python-recorder repository.

Thank you,

Tzanko

1 Like