---
title: Exception Replay
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog IDE Plugins > Datadog Extension for VS Code & Cursor >
  Exception Replay
---

# Exception Replay

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ().
{% /alert %}

{% /callout %}

## Overview{% #overview %}

**Exception Replay** allows you to inspect the stack trace frames of any Error Tracking code insight and get information about variable values from the code running in production.

To access this feature, you must enable [Error Tracking Exception Replay](https://docs.datadoghq.com/tracing/error_tracking/exception_replay.md) on Datadog.

After the feature has been enabled, you can see an **Exception Replay** button next to the stack trace section of any [APM-instrumented](https://docs.datadoghq.com/tracing/setup_overview.md) Error Tracking code insight. Click the button to:

- Access all the information Datadog has about the different frames.
- Navigate through the production code.
- Review the value of the different variables involved.

Select an Error Tracking code insight from the Code Insights view. Go to the stack trace and click the Exception Replay button. Two new views appear in the IDE:

- **Variables**: Displays the variables related to a particular stack trace frame.
- **Stack Trace**: Lists the stack frames for navigation.

Select a stack trace frame and inspect the values of all the variables that Datadog captured from your production code.

{% video
   url="https://docs.dd-static.net/images//ide_plugins/vscode/exception_replay.mp4" /%}

## Further reading{% #further-reading %}

- [Learn more about Exception Replay](https://docs.datadoghq.com/tracing/error_tracking/exception_replay.md)
