Aptana Studio ヘルプ > はじめに > RDT (Ruby Development Tools) > Ruby Debugger

Ruby debugger prerequisites

This Help topics lists the system requirements for using the Ruby debugger.

Contents

Introduction

RDT has the ability to run one of two debuggers: classic or ruby-debug.

The 'classic' debugger is a pure-ruby debugger based on the debug.rb script included in Ruby distributions. This version suffers from significantly slower execution times and has compatibility issues across Ruby versions and OSes.

We also offer the ability to run a debugger using the ruby-debug gem as the backend. ruby-debug is a faster debugging library based off of the debug.rb script with native code and minor changes in functionality for performance reasons.

Classic Debugger Compatibility

Whether you can debug your ruby application using the classic debugger depends on the version of the ruby interpreter you are using, as well as your OS:

Using ruby-debug

We have worked with the author of the ruby-debug gem to provide ruby-debug as a backend debugger. To use ruby-debug as your debugger you'll need to install the ruby-debug-ide gem and it's dependencies. You can install it using the Ruby Gems View.

You'll also need to make sure that the preference flag to use ruby-debug is enabled. You can find that preference in Window > Preferences... > Ruby > Debugger. Please note that we will attempt to automatically enable the use of ruby-debug if we detect that the ruby-debug-ide gem is installed.

Related Topics