Variable: python-pdbtrack-stacktrace-info-regexp
python-pdbtrack-stacktrace-info-regexp is a customizable variable
defined in python.el.gz.
Value
"> \\([^\"(]+\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()"
Documentation
Regular expression matching stacktrace information.
Used to extract the current line and module being inspected.
Must match lines with real filename, like
> /path/to/file.py(42)<module>()->None
and lines in which filename starts with <, e.g.
> <stdin>(1)<module>()->None
In the first case /path/to/file.py file will be visited and overlay icon will be placed in line 42. In the second case pdbtracking session will be considered over because the top stack frame has been reached.
Filename is expected in the first parenthesized expression. Line number is expected in the second parenthesized expression.
This variable was added, or its default value changed, in Emacs 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defcustom python-pdbtrack-stacktrace-info-regexp
"> \\([^\"(]+\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()"
"Regular expression matching stacktrace information.
Used to extract the current line and module being inspected.
Must match lines with real filename, like
> /path/to/file.py(42)<module>()->None
and lines in which filename starts with `<', e.g.
> <stdin>(1)<module>()->None
In the first case /path/to/file.py file will be visited and overlay icon
will be placed in line 42.
In the second case pdbtracking session will be considered over because
the top stack frame has been reached.
Filename is expected in the first parenthesized expression.
Line number is expected in the second parenthesized expression."
:type 'regexp
:version "27.1"
:safe 'stringp)