mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
(py-pdbtrack-track-stack-file): On Ken's suggestion, add "pdbtrack:"
prefix to the message lines.
This commit is contained in:
parent
b942c2f788
commit
c8c1a5b7b6
1 changed files with 3 additions and 3 deletions
|
@ -1148,12 +1148,12 @@ at the beginning of the line."
|
||||||
(progn
|
(progn
|
||||||
(find-file-other-window fname)
|
(find-file-other-window fname)
|
||||||
(goto-line (string-to-int lineno))
|
(goto-line (string-to-int lineno))
|
||||||
(message "L%s %s" lineno fname)
|
(message "pdbtrack: line %s, file %s" lineno fname)
|
||||||
(py-pdbtrack-overlay-arrow t)
|
(py-pdbtrack-overlay-arrow t)
|
||||||
(pop-to-buffer origbuf t) )
|
(pop-to-buffer origbuf t) )
|
||||||
(if (= (elt fname 0) ?\<)
|
(if (= (elt fname 0) ?\<)
|
||||||
(message "(Non-file source: '%s')" fname)
|
(message "pdbtrack: (Non-file source: '%s')" fname)
|
||||||
(message "Not found: %s" fname))
|
(message "pdbtrack: File not found: %s" fname))
|
||||||
)))))))
|
)))))))
|
||||||
|
|
||||||
(defun py-postprocess-output-buffer (buf)
|
(defun py-postprocess-output-buffer (buf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue