The DALE tool
The Dale tool can be used to translate in clear text the Exchange APDUs and RAPDUs.
It is useful to understand what went wrong when encountering SWAP errors to understand better what went wrong.
To use it, follow the README procedure in the Dale repository.