Skip to content

cldwalker/ripl-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This ripl plugin automatically starts the debugger whenever an evaled input throws an exception. The debugger is started at the source of the exception.

If on ruby 1.8, install the gem with:

gem install ripl-debug ruby-debug

If on ruby 1.9, install the gem with:

gem install ripl-debug ruby-debug19

To debug some suspect code

$ ripl debug -rsome/buggy/code

This plugin can be turned off in the console at any time with:

>> Ripl.config[:debug] = false

This gem doesn’t have ruby-debug as a dependency since ruby-debug is split across two gems (ruby-debug and ruby-debug19), dependent on ruby versions. This gem will work with either one.

About

A ripl plugin that automatically passes a failed eval to ruby-debug

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages