README.md in stack_trace-0.7.0 vs README.md in stack_trace-0.8.0
- old
+ new
@@ -29,15 +29,15 @@
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"
+ config.check_proc = -> (self_klass_name, defined_klass_name, method_name) do # If you want to limit the tracing for a set of classes
+ self_klass_name == "Bar"
- # If you use autoload and resolve the constant with `klass_name`
+ # If you use autoload and resolve the constant by klass names
# it's really likelly that you get a segfault: https://bugs.ruby-lang.org/issues/18120.
# Preload all the constants before running the `StackTrace.trace` if you want to
- # constantize klass_name.
+ # constantize klass names.
end
end
```