mvx_wasm_debug

Official

Debug WASM binaries with DWARF.

Authormultiversx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers analyze compiled WebAssembly (WASM) binaries for MultiversX smart contracts, enabling them to understand binary size, debug panics, and map WASM instructions back to source code.

Core Features & Use Cases

  • Binary Size Analysis: Identify components contributing to WASM file size using tools like Twiggy.
  • Panic Analysis: Understand and debug contract execution failures and abort messages.
  • DWARF Debugging: Leverage debug symbols to map WASM code to Rust source lines for in-depth debugging.
  • Use Case: When a MultiversX smart contract unexpectedly traps during execution, this skill can be used to analyze the WASM binary, inspect panic messages, and use DWARF symbols to pinpoint the exact Rust source line causing the issue.

Quick Start

Analyze the size of the 'output.wasm' file using the twiggy top command.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mvx_wasm_debug
Download link: https://github.com/multiversx/mx-ai-skills/archive/main.zip#mvx-wasm-debug

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.