# Debugging into ruby libraries [edit]

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

- Ruby Debugger
- Ruby debugger prerequisites
- Starting a Ruby debug session
- Ruby Debug Views
- Automatic Ruby code reloading
- Inspection shortcuts (Ruby)
- Known Ruby debugging limitations

Retrieved from "http://aptana.com/docs/index.php/Debugging_into_ruby_libraries"

Categories: AptanaHelp | RadRails | RDT