fgallina / python.el

Python's flying circus support for Emacs
GNU General Public License v3.0
267 stars 53 forks source link

ipdb track buffer error #167

Closed etern closed 8 months ago

etern commented 4 years ago

Steps:

  1. C-c, C-p start ipython
  2. %run -d aaa.py to start ipdb
  3. enter s in ipdb, to step into bbb.py, track buffer is ok
  4. enter p xx in ipdb, to print a value, track buffer error, current buffer bbb.py is closed

I checked the function python-pdbtrack-comint-output-filter-function, it handles comint output string like > /test/bbb.py(1239)function(), if this kind of string is not matched, current buffer is killed.

https://github.com/fgallina/python.el/blob/9ba613269b5937b4be22b34f1ac5bb8cf050d5f3/python.el#L2368

pdb commands like print, list will not output file name and line number, when these commands are used, current buffer should not be killed.

skangas commented 2 years ago

Hi!

This repository is no longer maintained, since python-mode.el is now distributed with Emacs itself. I suggest that you report this using the Emacs command:

M-x report-emacs-bug

fgallina commented 8 months ago

Closing as I'm marking this repository as read only. To report bugs, or to contribute fixes and improvements, use the built-in Emacs bug reporter (M-x report-emacs-bug) or send an email to bug-gnu-emacs@gnu.org.