Skip to content

Releases: gsamokovarov/break

0.30.0

20 Jun 17:31
Compare
Choose a tag to compare

Added

Fixed

0.21.0

19 Aug 08:20
Compare
Choose a tag to compare

0.21.0 (2020-08-19)

Fixed

0.20.0

29 Jul 21:04
Compare
Choose a tag to compare

0.20.0 (2020-07-30)

Added

Fixed

0.12.0

29 Jul 21:00
Compare
Choose a tag to compare

0.12.0 (2020-07-17)

Added

Fixed

0.11.0

08 Feb 12:59
Compare
Choose a tag to compare

0.11.0 (2020-02-08)

Changed

  • Requiring pry before break is no longer a prerequisite for automatic Pry integration. (@gsamokovarov)

0.10.0

08 Feb 12:58
Compare
Choose a tag to compare

Break

Break is a lightweight debugger for Ruby. It's written in plain Ruby and
doesn't have its own frontend. Once you require "break", it integrates
seamlessly with IRB or Pry and you have commands like next straight in your
REPL session. You don't need to remember to start your debugger or change your
development flow. Break embraces your flow, instead of forcing you to abide to
yet another tool.

Features

  • Control flow executing control.
  • No runtime cost. The tracing instructions kick in only when navigating.
  • Automatic integration with IRB and Pry.
  • Rails 6 constant autoloading support (not available in other Ruby debuggers).

Commands

The following commands are available in both IRB and Pry.

Command Description
next Continue to next line.
step Step into method invocation.
up Go up the stack.
down Go down the stack.
whereami Show the code surrounding the current debugged line.
exit Disconnect the debugger and continue to run the program.

Usage

Add break in your application Gemfile and make sure to require "break"
early in your program setup. In a Rails application, break will be required
automatically and you don't need to worry about that.

gem "break"