# Debug Stateful Contract using Dry Run Dump file

You can also debug a stateful smart contract directly using a dry run dump file. Once the dry run dump file is exported, you can start debugger several times using the same dump file.&#x20;

* In Stateful Contract transaction UI, enter all the details
* Export dry run dump by selecting "Dry Run Dump" option
* Find dry run dump file under  build/dryrun
* Right click on the dry run dump file and select "Start TEAL Debugger"
* Dry run dump file's extension is ".dr.json"

{% embed url="<https://youtu.be/-L4iUu9LN3U>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://algodea-docs.bloxbean.com/debugger-support/debug-stateful-contract-using-dry-run-dump-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
