Sha256: 73da9352fcd925f342afb3eb16e1b4db680b4ea75798616cc9ba2f5097ca6465
Contents?: true
Size: 874 Bytes
Versions: 4
Compression:
Stored size: 874 Bytes
Contents
# StackTrace Creates call stack trace for given block of Ruby code. ## Installation Install the gem and add to the application's Gemfile by executing: $ bundle add stack_trace If bundler is not being used to manage dependencies, install the gem by executing: $ gem install stack_trace ## Usage ```ruby StackTrace.trace do Foo.bar end StackTrace.current # => Returns a Hash that contains all the method calls and exception information. ``` ## Configuration ```ruby StackTrace.configure do |config| config.trace_ruby = true config.trace_c = true config.inspect_return_values = true # Default `false` for performance reasons config.inspect_arguments = true # Default `false` for performance reasons config.check_proc = -> (klass_name, method_name) do # If you want to limit the tracing for a set of classes klass_name == "Bar" end end ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
stack_trace-0.6.0 | README.md |
stack_trace-0.5.0 | README.md |
stack_trace-0.4.0 | README.md |
stack_trace-0.3.0 | README.md |