Skip to content

stevecrozz/RubyScope

Repository files navigation

#RubyScope

RubyScope is a GUI for ruby-debug and a Chrome app. It works by connecting to a remote ruby-debug instance over a TCP socket.

##Installation##

  1. After installing Chrome v24 or later, enable developer mode using the checkbox and click the 'Load unpacked extension...' button.
  2. Download submodules with 'git submodule init' and 'git submodule update'
  3. Visit chrome://flags and enable "Experimental Extension APIs"
  4. Restart Chrome, open a new tab and find RubyScope under "Apps"

##Usage## Install ruby-debug and initialize the remote debugger with:

Debugger.wait_connection = true
Debugger.start_remote

Add at least one initial breakpoint to your ruby program with the line:

debugger

Connect to the remote debugger with RubyScope and enjoy the GUI.

##Example##

  1. Open the example folder: 'cd example'
  2. Install the example bundle: 'bundle install'
  3. Run the example app: 'ruby app.rb'
  4. Start RubyScope and click connect

##Copyright## Copyright (c) 2012, Stephen Crosby. All rights reserved.

##License## RubyScope is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

A GUI for ruby-debug

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published