Time-Travel Debugging: Replaying Production Bugs Locally

We&rsquo;ve all had that sinking feeling. There are multiple crash reports from production. We have the exact input parameters that caused the failures. We have the stack traces. Yet, when we run the code locally, it works perfectly. We know where it broke, but we can&rsquo;t see why. Was it a race condition? Did a database read return stale data that has since been overwritten? To find the cause,…