emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python: Let pdb tracking not kill buffers


From: Andrii Kolomoiets
Subject: Re: python: Let pdb tracking not kill buffers
Date: Sat, 2 Nov 2019 18:37:26 +0200

On 1 Nov 2019, at 11:35, Eli Zaretskii <address@hidden> wrote:
> Can you please add:
> 
>  . Commit log message formatted according to instructions in
>    CONTRIBUTE
>  . Suitable short entry for NEWS about the new options

Please see attached updated patch.

> Also, I don't see any rationale for changing
> python-pdbtrack-stacktrace-info-regexp; can you tell why you needed
> that?

Current python-pdbtrack-stacktrace-info-regexp match only lines with real
filenames, like:
  > /Users/mad/test.py(3)<module>()->None

Pdb command "next" can bring us to upper stack frame, like:
  > <stdin>(1)<module>()->None

At this point pdbtracking session can be considered over.  And new
python-pdbtrack-stacktrace-info-regexp can match such lines with "<stdin>"
or "<string>" as filenames.

Attachment: 0001-python.el-Pdbtracking-improvements.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]