Terminal project · 7 units · Free
Build a time-travel debugger
Build a debugger that can inspect, stop, replay and search earlier program states.
Get the course on GitHub- What you’ll learn
- Breakpoints, execution traces, deterministic replay and reverse state search.
- Your project
- Your own debugger for a supplied virtual machine and an unfamiliar-program investigation.
- How you’ll work
- Clone the lessons and unfinished starter from GitHub. Implement and check each step with Node.js.
What you’ll build
- Inspect and run a supplied deterministic virtual machine.
- Add stopping rules, trace recording, replay and reverse state search.
- Diagnose an unfamiliar program and extend your own debugger.
Before you start
JavaScript ES modules, functions, classes, arrays and objects. The original virtual machine is supplied; this course does not attach to native processes.
Tested with Node.js 26.5.1 on macOS. Other runtime versions and operating systems remain unqualified. No package installation, account or paid tools.
The starter is intentionally unfinished. The final diagnosis uses unfamiliar programs and a written report. Keep your project exports and first attempts.
Clone and start the terminal project
Use the already-installed tools listed above. Clone the learner source, enter this course directory and run its first check:
git clone https://github.com/itsHabib/free-to-learn.git
cd free-to-learn
git checkout fbaa574779092598628054780587838f3d6b3762
cd courses/time-travel-debugger
node lab.mjs start project
node lab.mjs check project 01 --help-used noneImplement project/solution.mjs through seven units, then create your own unfamiliar-program investigation and query. Export with node lab.mjs export project NEW_DIRECTORY; replay the nested NEW_DIRECTORY/project path.
The unfinished starter should fail with a named diagnostic. Implement your own code; supplied worked/prerequisite layers are labelled assistance. Preserve first attempts and declare actual help.
The qualified release route is the terminal project and its documented folder export/recovery. The optional browser checker is not a new qualification.
Browse the pinned learner source · Reuse terms and attribution
Browser-only material in the course keeps its own stated limitations.
A second course, Build a time-travel debugger, part two, takes this debugger to Lob, a real compiled game, and ends with finding planted bugs in six later builds.