Time-travel debugging engine for Python
Project description
Timetrace Debugger
Timetrace Debugger is a time-travel debugging engine for Python.
It records execution state, tracks variable changes, and allows stepping both backward and forward through program execution.
Why Timetrace?
Traditional debuggers only move forward.
Timetrace allows you to:
- Step backward in time
- Inspect past variable states
- Analyze execution history
- Replay saved debugging sessions
Features
- Reverse execution stepping
- Execution timeline recording
- Call stack tracking
- Exception capture
- Thread tracing
- Async support
- Conditional breakpoints
- Watchpoints
- Multi-file project support
- CLI-based interactive debugger
Installation
pip install timetrace-debugger
Quick Start
Run a Python script with time-travel debugging:
timetrace myscript.py
CLI Commands
Inside the debugger:
| Command | Description |
|---|---|
| n | Next step |
| b | Step backward |
| si | Step into |
| so | Step over |
| su | Step out |
| s | Show stack |
| break | Set breakpoint |
| watch | Watch variable |
| history | Show variable history |
| q | Quit |
Save & Replay Sessions
Save execution session:
timetrace myscript.py --save session.json
Replay saved session:
timetrace --replay session.json
Requirements
- Python 3.8+
License
MIT License
Copyright (c) 2026 Varkala Shashidhar
Author
Developed by Varkala Shashidhar
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timetrace_debugger-1.0.3.tar.gz.
File metadata
- Download URL: timetrace_debugger-1.0.3.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8998310c2d14d6607e0d23457cda2180dc38bb68849426ec2afb608bd53be9ba
|
|
| MD5 |
205fd63b1dc94ec2ac77faccf9013d9e
|
|
| BLAKE2b-256 |
655e80a060d25a88687ccf792dae98fe61856204c6fb485bd149fa22f68e0649
|
File details
Details for the file timetrace_debugger-1.0.3-py3-none-any.whl.
File metadata
- Download URL: timetrace_debugger-1.0.3-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
140dd4c393f3866dfa93a3712a517ea8c31ea4def945f36cc0bc87290fa1dabb
|
|
| MD5 |
522e0bf7e878660bc81d1ba7c5021617
|
|
| BLAKE2b-256 |
882e25b3e0a0f8301dae138d8b23c43abe5572f541b66759fe36f0d261d477ae
|