ToolboxGuides

Guides

Getting Started

This guide explains how to install and use Toolbox for debugging Ruby programs and core dumps with GDB or LLDB.

Object Inspection

This guide explains how to use rb-print to inspect Ruby objects, hashes, arrays, and structs in GDB.

Stack Inspection

This guide explains how to inspect both Ruby VM stacks and native C stacks when debugging Ruby programs.

Fiber Debugging

This guide explains how to debug Ruby fibers using GDB, including inspecting fiber state, backtraces, and switching between fiber contexts.

Heap Debugging

This guide explains how to navigate Ruby's heap to find objects, diagnose memory issues, and understand object relationships.