# Debug Atomic Transfer

* To debug an atomic transfer, you need to first export individual transactions using corresponding transactions UIs.
* If atomic transfer has a stateless contract, you need to also create a lsig file which will be later used during transaction signing.
* Make sure to select source file for each smart contract transaction through "Dry Run Source" option in Atomic Transfer UI.

The following video shows how to debug an atomic transfer with a stateful contract and stateless contract.

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


---

# 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-atomic-transfer.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.
