# Rewinding by fast-forwarding

DevFeed: [Rewinding by fast-forwarding](<https://devfeed.tech/articles/rewinding-by-fast-forwarding-121375.md>)

Original publisher: [Read original article](<https://fzakaria.com/2026/11/05/rewinding-by-fast-forwarding>)

Published: 2026-11-05T17:00:00Z

Content type: article

Language: en

Sources: [Farid Zakaria's Blog](<https://devfeed.tech/sources/farid-zakaria-s-blog.md>)

Topics: [gdb](<https://devfeed.tech/topics/gdb.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [balance](<https://devfeed.tech/tags/balance.md>), [bank](<https://devfeed.tech/tags/bank.md>), [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [bug](<https://devfeed.tech/tags/bug.md>), [debuggers](<https://devfeed.tech/tags/debuggers.md>), [example](<https://devfeed.tech/tags/example.md>), [execution](<https://devfeed.tech/tags/execution.md>), [failed](<https://devfeed.tech/tags/failed.md>), [failure](<https://devfeed.tech/tags/failure.md>), [gdb](<https://devfeed.tech/tags/gdb.md>), [history](<https://devfeed.tech/tags/history.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [process](<https://devfeed.tech/tags/process.md>), [records](<https://devfeed.tech/tags/records.md>), [rewind](<https://devfeed.tech/tags/rewind.md>), [run](<https://devfeed.tech/tags/run.md>), [tools](<https://devfeed.tech/tags/tools.md>)

## AI overview

Rewind records a program's execution in a deterministic virtual machine, then replays it to inspect earlier state. Its `rewind blame --reads` traces memory reads and writes; in the two-teller example, it reveals that one teller read 110, then overwrote nine later deposits with stale value 120. `rewind gdb` also supports watchpoints and reverse commands such as `reverse-continue`, `reverse-step`, and `reverse-next`. Rewind does not literally execute the VM backward: it restores a checkpoint, runs forward while recording accesses, and repeats from earlier checkpoints to find the last access before the target step. This can take time when a step spans millions of instructions.

## Source excerpt

Debuggers are an incredibly powerful and useful tool, but they mostly show you only the present and let you move forward.1 Inspecting the present can help you understand the past, but is that a limitation we must accept? Tools like rr and Undo record a process and let you run its replay backwards. Rewind records the whole machine, the kernel included, so the same inputs make the same run every time. ↩