HF RL Explorer

Task: Get Ruby to Print a Full Backtrace Instead of a Truncated One

Task: Get Ruby to Print a Full Backtrace Instead of a Truncated One: a task in Terminal-Lego-15k (Harbor dataset). When Ruby raises an exception deep within a call stack, the default behavior truncates the backtrace with ... N levels... , hiding potentially important debugging information. Your…

The task

When Ruby raises an exception deep within a call stack, the default behavior truncates the backtrace with `... N levels...`, hiding potentially important debugging information. Your task is to create a Ruby script that demonstrates how to print the **full, untruncated backtrace** when an exception occurs.

Part of PrimeIntellect/Terminal-Lego-15k.