Skip to main content
TxTracer is a multipurpose debugging tool for TVM, Tolk, and FunC. Tools from a screenshot are described below in their separate sections. TxTracer screenshot Its source code can be found on GitHub.

1. TxTracer

TxTracer’s main tool allows stepping over TVM execution by transaction hash. Put a transaction hash into the input. Use playback controls on the right to step through execution of the TVM bitcode that happened when this transaction was executed. Below those controls, the UI displays a current TVM stack. Screenshot of tracing by transaction hashScreenshot of tracing by transaction hash

2. Playground

Playground is for stepping over arbitrary TVM Assembly (TASM) or FunC code. Put the code into the code editor on the left. Use playback controls on the right to step through execution of the TVM bitcode that happened when this transaction was executed. Below those controls, the UI displays a current TVM stack. Screenshot of tracing some assemblyScreenshot of tracing some assembly

3. Code Explorer

Explorer converts FunC/Tolk code to TVM Assembly (TASM). Put the code into the code editor on the left. The corresponding assembly code is on the right. Screenshot of conversion of FunC to assemblyScreenshot of conversion of FunC to assembly

4. TVM Specification

A modern version of TVM Specification. Put instruction name into the search field. Read about description, stack signature, and other effects of the instruction. Screenshot of search in TVM specification by prefix 'pl'Screenshot of search in TVM specification by prefix 'pl'

5. Sandbox

Web interface that displays a trace from local @ton/sandbox. Follow instructions on the main page of the tool on how to set it up. The tool displays a trace of what happened during execution of the code in a local @ton/sandbox. Screenshot of a sample traceScreenshot of a sample trace

6. Emulate

Web interface that displays a trace from its BoC. Screenshot of a sample traceScreenshot of a sample trace
I