<commit_before># 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,
# <NAME>. I can be reached at <EMAIL>
# 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.

require 'irb'
if RUBY_VERSION == '1.8.5'
  begin
    require 'rubygems'
    require 'breakpoint185'
  rescue LoadError      
    puts 'WARNING: breakpoints will not work with Ruby 1.8.5 without the call_stack gem.'
    puts '         gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack'
    def Binding.of_caller(&block)
      raise 'Breakpoint requires the call_stack gem with Ruby 1.8.5.'
      return
    end
  end
else
  require 'binding_of_caller'
end
require 'drb'
require 'drb/acl'

module Breakpoint
  id = %q$Id: breakpoint.rb 92 2005-02-04 22:35:53Z flgr $
  Version = id.split(" ")[2].to_i

  extend self

  # This will pop up an interactive ruby session at a
  # pre-defined break point in a Ruby application. In
  # this session you can examine the environment of
  # the break point.
  #
  # You can get a list of variables in the context using
  # local_variables via +local_variables+. You can then
  # examine their values by typing their names.
  #
  # You can have a look at the call stack via +caller+.
  #
  # The source code around the location where the breakpoint
  # was executed can be examined via +source_lines+. Its<commit_msg>Don't do call_stack warning all the time, only if a breakpoint is used.<commit_after># 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,
# <NAME>. I can be reached at <EMAIL>
# 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.

require 'irb'
if RUBY_VERSION == '1.8.5'
  begin
    require 'rubygems'
    require 'breakpoint185'
  rescue LoadError      
    def Binding.of_caller(&block)
      raise x=<<EOS
Breakpoints do not work in Ruby 1.8.5 without call_stack.
gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack
EOS
    end
  end
else
  require 'binding_of_caller'
end
require 'drb'
require 'drb/acl'

module Breakpoint
  id = %q$Id: breakpoint.rb 92 2005-02-04 22:35:53Z flgr $
  Version = id.split(" ")[2].to_i

  extend self

  # This will pop up an interactive ruby session at a
  # pre-defined break point in a Ruby application. In
  # this session you can examine the environment of
  # the break point.
  #
  # You can get a list of variables in the context using
  # local_variables via +local_variables+. You can then
  # examine their values by typing their names.
  #
  # You can have a look at the call stack via +caller+.
  #
  # The source code around the location where the breakpoint
  # was executed can be examined via +source_lines+. Its
{'fraction_non_alphanumeric': 0.06672091131000814, 'fraction_numerical': 0.014917276918904258, 'mean_word_length': 3.5643564356435644, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3071191', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1067, 'n_words': 509}