The Breakpoint library provides the convenience of being able to inspect and modify state, diagnose bugs all via IRB by simply setting breakpoints in your applications by the call of a method.
This library was written and is supported by me, Florian Gross. I can be reached at flgr@ccan.de and enjoy getting feedback about my libraries.
The whole library (including breakpoint_client.rb and binding_of_caller.rb) is licensed under the same license that Ruby uses. (Which is currently either the GNU General Public License or a custom one that allows for commercial usage.) If you for some good reason need to use this under another license please contact me.
Required Files
- irb
- drb
- drb/acl
Methods
Public Instance methods
[ show source ]
# File vendor/rails/activesupport/lib/active_support/breakpoint.rb, line 519 519: def assert(&block) 520: Binding.of_caller do |context| 521: Breakpoint.assert(context, &block) 522: end 523: end
[ show source ]
# File vendor/rails/activesupport/lib/active_support/breakpoint.rb, line 512 512: def breakpoint(id = nil, &block) 513: Binding.of_caller do |context| 514: Breakpoint.breakpoint(id, context, &block) 515: end 516: end