class Backtracer::Configuration
- Backtracer::Configuration
- Reference
- Object
Defined in:
backtracer/configuration.crConstant Summary
-
LINE_PATTERNS =
{/^(?<file>[^:]+)(?:\:(?<line>\d+)(?:\:(?<col>\d+))?)? in '\*?(?<method>.*?)'(?: at #{ADDR_FORMAT})?$/, /^(?<method>~[^@]+)@(?<file>[^:]+)(?:\:(?<line>\d+))(?: at #{ADDR_FORMAT})?$/, /^\[#{ADDR_FORMAT}\] \*?(?<method>.*?) \+\d+(?: \((?<times>\d+) times\))?$/, /^(?<method>.+?)$/}
Instance Method Summary
-
#app_dirs_pattern : Regex
Directories to be recognized as part of your app.
-
#app_dirs_pattern=(app_dirs_pattern : Regex)
Directories to be recognized as part of your app.
-
#context_lines : Int32 | Nil
Number of lines of code context to capture, or
nilfor none. -
#context_lines=(context_lines : Int32 | Nil)
Number of lines of code context to capture, or
nilfor none. -
#in_app_pattern : Regex
Regexpattern matched againstBacktrace::Frame#file. -
#in_app_pattern=(in_app_pattern : Regex)
Regexpattern matched againstBacktrace::Frame#file. - #line_filters
-
#modules_path_pattern : Regex
Path pattern matching directories to be recognized as your app modules.
-
#modules_path_pattern=(modules_path_pattern : Regex)
Path pattern matching directories to be recognized as your app modules.
-
#src_path : String | Nil
Used in
#in_app_pattern. -
#src_path=(src_path : String | Nil)
Used in
#in_app_pattern.
Instance Method Detail
Directories to be recognized as part of your app. e.g. if you
have an engines dir at the root of your project, you may want
to set this to something like /(src|engines)/
Directories to be recognized as part of your app. e.g. if you
have an engines dir at the root of your project, you may want
to set this to something like /(src|engines)/
Number of lines of code context to capture, or nil for none.
Path pattern matching directories to be recognized as your app modules.
Defaults to standard Shards setup (lib/shard-name/...).
Path pattern matching directories to be recognized as your app modules.
Defaults to standard Shards setup (lib/shard-name/...).