> For the complete documentation index, see [llms.txt](https://docs-origin.anvil.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-origin.anvil.bot/reference/troubleshooting/replay-buffer.md).

# Replay Buffer

Capture invaluable debugging info about hard-to-reproduce behavior

Even when you're not actively recording, Anvil's stack maintains a buffer of the last 2 minutes of data so that you don't have to spend time trying to reproduce transient or inconsistent behavior. This is available via the Replay Buffer, which can be found on the Diagnostics page.\
\
\
Just click the "Save Buffer" button, and an episode with the last 2 minutes of data will get compiled, which you can download for debugging and investigation.

<div data-full-width="true"><figure><img src="https://4223670213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8swLPls6cg6zxcYD7sj%2Fuploads%2FBf9ByuKpEgC8qNkQX7HW%2FScreenshot%20from%202026-05-27%2018-54-10.png?alt=media&amp;token=7501d7c7-1676-4313-85b0-07bec8ba0f60" alt=""><figcaption></figcaption></figure></div>
