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

Debugging into ruby libraries

This page gives an overview of how to debug into Ruby libraries.

Introduction

If there are exceptions in a ruby library file, the program halts there and the ruby file is opened read only. That is because the library file is not part of the eclipse workspace. In order to edit such a file, a ruby project can be created upon the library directory:

  1. Select New > Project > Ruby Project
  2. Enter project name, e.g site-ruby
  3. In the section Project contents, deselect Use Default and enter the directory, e.g /usr/local/lib/site-ruby/1.6. Note, that there must be write access to that directory, because eclipse wants to create a .project file.

Related Topics