Skip to content

Conversation

memearchivarius
Copy link
Collaborator

Closes #343

Added brief descriptions for related links

@anton-trunov
Copy link
Member

/review

tvm/tools.mdx Outdated
### More tools

- [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bitcode and instructions; check how your code compiles to TVM code

tvm/tools.mdx Outdated

- [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bitcode to Fift assembly

tvm/tools.mdx Outdated
- [TVM exit codes](/tvm/exit-codes)
- [TVM instructions](/tvm/instructions)


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

tvm/tools.mdx Outdated

This page lists essential tools for inspecting TVM (TON Virtual Machine) execution, transactions, and opcodes.

### Retracer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add retracer to the dictionary

Copy link

Thanks for the update to tvm/tools.mdx. A couple of medium issues and several low-severity polish edits need attention to align with the style guide.

Findings (8)

Medium (2)

Click to expand

[MEDIUM] Acronym introduced before expansion in H2

Location:

## TVM debugging and tracing tools

Description:
The first occurrence of “TVM” is in the H2 and appears without expansion. The style guide requires spelling out the term on first mention, followed by the acronym (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L124-L129). Expanding here aids clarity for readers scanning headings.

Suggestion:

-## TVM debugging and tracing tools
+## TON Virtual Machine (TVM) debugging and tracing tools

[MEDIUM] Throat-clearing opener and reversed acronym

Location:

This page lists essential tools for inspecting TVM (TON Virtual Machine) execution, transactions, and opcodes.

Description:
Line 10 opens with a throat-clearing sentence (“This page lists…”) instead of delivering value directly, which the style guide forbids (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L156-L160). It also introduces the acronym in reverse order (“TVM (TON Virtual Machine)”) instead of spelling out the term and then the acronym (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L124-L129).

Suggestion:

-This page lists essential tools for inspecting TVM (TON Virtual Machine) execution, transactions, and opcodes.
+Inspect TON Virtual Machine (TVM) execution, transactions, and opcodes with these tools.

Low (6)

Click to expand

[LOW] Inconsistent list punctuation in “Retracer” section

Location:

- Purpose: Inspect the action list (C5), the TVM stack and executed instructions, basic transaction details (sender, contract, amounts, time, logical time (LT), fees, balances), and executor logs
- Typical use cases:
- Inspect C5 to see full details of performed actions (for example, message mode or balance reservation)
- Follow the instruction trace and stack changes to pinpoint errors
- Check executor logs for deeper debugging or issue reports

Description:
The “Purpose” line and the nested “Typical use cases” items are sentence-style but lack terminal periods. The style guide recommends ending full-sentence list items with periods, or omitting terminal punctuation consistently for all items (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L262-L265).

Suggestion:

- - Purpose: Inspect the action list (C5), the TVM stack and executed instructions, basic transaction details (sender, contract, amounts, time, logical time (LT), fees, balances), and executor logs
+ - Purpose: Inspect the action list (C5), the TVM stack and executed instructions, basic transaction details (sender, contract, amounts, time, logical time (LT), fees, balances), and executor logs.
@@
-   - Inspect C5 to see full details of performed actions (for example, message mode or balance reservation)
+   - Inspect C5 to see full details of performed actions (for example, message mode or balance reservation).
-   - Follow the instruction trace and stack changes to pinpoint errors
+   - Follow the instruction trace and stack changes to pinpoint errors.
-   - Check executor logs for deeper debugging or issue reports
+   - Check executor logs for deeper debugging or issue reports.

[LOW] Inconsistent list punctuation in “TxTracer” section

Location:

- Purpose: Combines Retracer‑style transaction tracing with an Assembly Playground, a Code Explorer (FunC/Tolk → TVM), the TVM Specification (opcodes, stack effects, control flow, disassembly), and Sandbox visualization
- Built by: TON Studio and TON Core
- Typical use cases:
- Look up TVM instructions and semantics while reading disassembly
- Investigate invalid opcode and type errors by checking instruction constraints
- Trace transactions end‑to‑end, similar to Retracer
- Experiment with assembly, compile code, and inspect VM logs from local tests

Description:
The “Purpose” line and the nested use-case items are sentence-style but end without periods. The style guide calls for consistent punctuation for sentence-style list items (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L262-L265).

Suggestion:

- - Purpose: Combines Retracer‑style transaction tracing with an Assembly Playground, a Code Explorer (FunC/Tolk → TVM), the TVM Specification (opcodes, stack effects, control flow, disassembly), and Sandbox visualization
+ - Purpose: Combines Retracer‑style transaction tracing with an Assembly Playground, a Code Explorer (FunC/Tolk → TVM), the TVM Specification (opcodes, stack effects, control flow, disassembly), and Sandbox visualization.
@@
-   - Look up TVM instructions and semantics while reading disassembly
+   - Look up TVM instructions and semantics while reading disassembly.
-   - Investigate invalid opcode and type errors by checking instruction constraints
+   - Investigate invalid opcode and type errors by checking instruction constraints.
-   - Trace transactions end‑to‑end, similar to Retracer
+   - Trace transactions end‑to‑end, similar to Retracer.
-   - Experiment with assembly, compile code, and inspect VM logs from local tests
+   - Experiment with assembly, compile code, and inspect VM logs from local tests.

[LOW] Inconsistent list punctuation in “More tools” section

Location:

- [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer
- [TVM Explorer](https://tvm-explorer.netlify.app/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode
- [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly

Description:
Each item reads like a sentence-style description but lacks a terminal period. The style guide recommends consistent punctuation for sentence-style list items (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L262-L265).

Suggestion:

- - [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer
+ - [tvm-web-viewer](https://github.com/ton-blockchain/tvm-web-viewer/) — source code for Retracer.
- - [TVM Explorer](https://[REDACTED]/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode
+ - [TVM Explorer](https://[REDACTED]/) — interactive explorer for TVM bytecode and instructions; check how your code compiles to TVM bytecode.
- - [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly
+ - [tact-lang/ton-opcode](https://github.com/tact-lang/ton-opcode) — decompiler from TVM bytecode to Fift assembly.

[LOW] Internal links should be relative

Location:

- [TVM overview](/tvm/overview)
- [TVM exit codes](/tvm/exit-codes)
- [TVM instructions](/tvm/instructions)

Description:
Internal links use root-absolute paths (for example, “/tvm/overview”), coupling to the domain/root. The style guide recommends relative internal links for stability across domain/path changes (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L518-L518, https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L674-L675).

Suggestion:

- - [TVM overview](/tvm/overview)
- - [TVM exit codes](/tvm/exit-codes)
- - [TVM instructions](/tvm/instructions)
+ - [TVM overview](./overview)
+ - [TVM exit codes](./exit-codes)
+ - [TVM instructions](./instructions)

[LOW] Ampersand in title; prefer “and” for clarity/search

Location:

title: "Debugging & tools"

Description:
The page title uses “&”. Spelling out “and” improves readability, searchability, and localization, and avoids shorthand in titles.

Suggestion:

-title: "Debugging & tools"
+title: "Debugging and tools"

[LOW] Unexpanded acronym “VM” in list item

Location:

- Experiment with assembly, compile code, and inspect VM logs from local tests

Description:
“VM” appears without prior expansion and is ambiguous relative to the page’s use of “TVM.” The acronyms rule requires expansion on first use and consistent terminology thereafter (https://github.com/tact-lang/mintlify-ton-docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L124-L129). Using “TVM” keeps the term aligned with the rest of the page.

Suggestion:

-  - Experiment with assembly, compile code, and inspect VM logs from local tests
+  - Experiment with assembly, compile code, and inspect TVM logs from local tests

@verytactical verytactical requested a review from a team as a code owner October 3, 2025 14:09
Copy link

github-actions bot commented Oct 3, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --quiet --silently-ignore tvm/tools.mdx 

Copy link
Collaborator

@verytactical verytactical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • There should be separate pages for use of these tools, not mere mentions. These tools are not particularly user-friendly due to how technical the topic is. "Typical use cases" are the kind of topics that should be covered in these articles.
  • TxTracer should be mentioned above Retracer, because it's a much more modern and improved version of it.
  • Source code of tools (i.e. "source code of Retracer") must not be separate from the section describing the tool (i.e. "Retracer" section above)
  • The overview page should give similar exposure to different tools, with most useful of them juse listed first.
  • "Related docs" section should be removed. Obviously articles in the same group are related. Otherwise they wouldn't be in the same group.

Copy link

github-actions bot commented Oct 6, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --quiet --silently-ignore tvm/tools/index.mdx tvm/tools/retracer.mdx tvm/tools/ton-decompiler.mdx tvm/tools/tvm-explorer.mdx tvm/tools/tx-tracer.mdx 

Copy link

github-actions bot commented Oct 7, 2025

To fix the formatting issues:

  1. Install necessary dependencies: npm ci
  2. Then, run this command:
npx remark -o --silent --silently-ignore tvm/tools/overview.mdx tvm/tools/retracer.mdx tvm/tools/ton-decompiler.mdx tvm/tools/tvm-explorer.mdx tvm/tools/tx-tracer.mdx 

@memearchivarius
Copy link
Collaborator Author

@anton-trunov @verytactical, please review the new variant.
I'm not familiar with most of the mentioned tools' functionality, so I tried my best to describe them.

/* See: https://mintlify.com/docs/settings/custom-scripts#custom-javascript */

/* TODO: try to add a heading outline on mobile similar to one Astro provides */

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not add TODOs in code. Create GH issues instead

{
"group": "Tools",
"pages": [
"tvm/tools/index",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broken link

sidebarTitle: "TxTracer"
---

TxTracer is a modern TVM transaction tracing tool that combines multiple debugging and analysis features in one interface.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole article doesn't even link to TxTracer. How is user supposed to find it?


## Features

- **Retracer-style tracing** — End-to-end transaction tracing similar to Retracer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use AI to produce articles.

@hacker-volodya hacker-volodya removed the request for review from a team October 7, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TVM > Tooling]
3 participants