HexDebug
With HexDebug, players who build Hex Casting spells can step through a hex one pattern at a time, using breakpoints and a call stack to see where a mishap happens.
What it does
HexDebug is an addon for Hex Casting that adds a debugger for editing and running hexes. A hex can be stepped pattern by pattern in game with an in-game item, using the usual step modes: step in, step out, step over, continue, restart and stop. The same session can also be driven from VS Code or another DAP-compatible editor, since the debugger runs a debug server through the Debug Adapter Protocol.
The debugger shows the stack ravenmind, including internal values such as the evaluated pattern count, and a call stack that records each continuation as it executes. This makes it possible to follow complex meta-evaluating hexes. Breakpoints can be set on specific patterns, and an Uncaught Mishaps option pauses the debugger whenever a mishap occurs, so the cause is visible. A Splicing Table provides a GUI for finding and fixing mistakes. The mod runs on both client and server, so the server and every player need it. Required dependencies are Architectury API, Cloth Config API, Fabric API, Fabric Language Kotlin, Hex Casting, IoticBlocks and Kotlin for Forge; EMI and Mod Menu are optional.
Key features
Step modes
Step in, step out, step over, continue, restart and stop are available through an in-game item or from an external editor.
Stack and call inspection
The stack ravenmind and internal values, with a call stack for each continuation, show how a meta-evaluating hex runs.
Breakpoints on patterns
Breakpoints can be placed on specific patterns, and an option pauses execution whenever a mishap occurs.
Splicing Table
A GUI block helps locate and correct mistakes in a hex.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 6
Use cases
Who it’s for: Players and pattern writers who build complex hexes in Hex Casting, and developers who want to edit hexes in VS Code or another DAP-compatible editor.
How it compares
Hextra Patterns is a Fabric mod for 1.20.1, open source under the CC0 1.0 Universal license, and runs on client and server. Hexcessible is client-side only, covers 1.20.1 – 1.20.6 on Fabric, and is not open source because it uses a custom license. HexBoard is published for Fabric and Forge on 1.20.1, is open source under the MIT License, and runs on client and server.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| HexDebug | Fabric, Forge and Quilt | 1.19.2 – 1.20.1 | Client and server | 2026-09-05 |
| Hextra Patterns | Fabric | 1.20.1 | Client and server | 2026-10-10 |
| Hexcessible | Fabric | 1.20.1 – 1.20.6 | Client-side only | 2026-03-24 |
| HexBoard | Fabric and Forge | 1.20.1 | Client and server | 2026-03-27 |
Questions
Which loader does HexDebug need?
Does the server need HexDebug?
Can HexDebug be used without VS Code?
In the catalog
HexDebug is one of 7,216 Magic mods on ModsFinder, and one of 3,630 Magic mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from object-Object
Similar mods
What the author says
A Hex Casting addon for debugging and editing hexes. The Debugger runs a debug server using the Debug Adapter Protocol, allowing you to use real debugging tools like VSCode to find bugs in your hexes; and the Splicing Table provides an easy-to-use GUI for finding and fixing mistakes.
Official listing
- Modrinth page
- modrinth.com/mod/hexdebug
- Owner
- object-Object
- Published
- 2024-05-10
- Updated on Modrinth
- 2026-09-05
- Facts verified
- 2026-10-15
