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 return by default, or
nil
for none. -
#context_lines=(context_lines : Int32 | Nil)
Number of lines of code context to return by default, or
nil
for none. -
#line_filters
Array of procs used for filtering backtrace lines before parsing.
-
#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
Path considered as "root" of your project.
-
#src_path=(src_path : String | Nil)
Path considered as "root" of your project.
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)\//
See Frame#in_app?
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)\//
See Frame#in_app?
Number of lines of code context to return by default, or nil
for none.
See Frame#context
Number of lines of code context to return by default, or nil
for none.
See Frame#context
Array of procs used for filtering backtrace lines before parsing.
Each filter is expected to return a string, which is then passed
onto the next filter, or ignored althoghether if nil
is returned.
Path pattern matching directories to be recognized as your app modules.
Defaults to standard Shards setup (lib/shard-name/...
).
See Frame#shard_name
Path pattern matching directories to be recognized as your app modules.
Defaults to standard Shards setup (lib/shard-name/...
).
See Frame#shard_name
Path considered as "root" of your project.
See Frame#under_src_path?