# Ruby simple browser base source level debugger

**URL:** <https://www.ruby-forum.com/t/ruby-simple-browser-base-source-level-debugger/196395>\
**Category:** Ruby\
**Created:** [October 12, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/ruby-simple-browser-base-source-level-debugger/196395 "2010-10-12T18:28:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@arton](https://www.ruby-forum.com/u/arton)\
**Post date:** [October 12, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/ruby-simple-browser-base-source-level-debugger/196395/1 "2010-10-12T18:28:44Z")

</div>

Hi

I recently start to develop a ruby source level debugger (ruined) with  
small foot print and easy to install and use. I believe it’s useful for  
whom teachs ruby to learners because the debugger shows the trace of  
running script automatically.

-Here is the demo flush movie  
[http://www.artonx.org/data/ruined/](http://www.artonx.org/data/ruined/)

-Installation  
gem install ruined

-requirement  
Ruby-1.9.x (no 1.8 support)  
Modern browser (Safari, IE8, Chrome etc)  
The program itself is written in pure ruby and JavaScript(jQuery).

-How to run  
ruby -ruined your-script-file.rb  
(you don’t need to modify your script, only put ‘-ruined’ after ‘ruby’)

Then web browser is automatically start on Windows, OSX and some Unix  
clones.  
If nothing is happened, please visit [http://localhost:8384/](http://localhost:8384/) manually.

-operation  
-restart … abort current session and restart target  
-quit … abort current sesson and debugger itself  
-step … run step at a time  
-run … continuously run script automatically  
slider … automatically running speed change  
breakpoint … click source line (toggle on/off)  
edit variable … double click vars value. out of focus causes the  
modification.  
the lower pane is $stdout display.

-Current features and limitations  
At this release (0.0.4), no multithread support, no source file edit  
support, but you can watch the local, instance, global variable and  
change them, put breakpoints, ‘run’ automatically, ‘step’ at a line etc.

-Source files

> **[GitHub - arton/ruined: ruby gui source code debugger](https://github.com/arton/ruined)**
>
> ruby gui source code debugger. Contribute to arton/ruined development by creating an account on GitHub.

enjoy !

–  
arton [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
