[issue43318] pdb can't output the prompt message when successfully clear breakpoints by "filename:lineno"

2021-04-20 Thread ZhaoJie Hu
ZhaoJie Hu added the comment: I found a typo in the reproduce step. I'm going to fix it here. The unit test is updated in PR. Now it has some conflicts with the master branch, and I will resolve them soon. The steps to reproduce the bug: Assume the file to be debugged is foo.py(You can use

[issue43318] pdb can't output the prompt message when successfully clear breakpoints by "filename:lineno"

2021-02-25 Thread huzhaojie
huzhaojie added the comment: Accroding to my test, it appears in python 3.8.0 and the latest 3.10 master branch, and I think other versions also have this bug. The steps to reproduce the bug: 1. start pdb: python -m pdb foo.py 2. set a breakpoint on any line of the file: (Pdb) b 2

[issue43318] pdb can't output the prompt message when successfully clear breakpoints by "filename:lineno"

2021-02-25 Thread Irit Katriel
Irit Katriel added the comment: Please provide instructions how to reproduce the bug. The patch would need a unit test as well. -- nosy: +iritkatriel ___ Python tracker ___

[issue43318] pdb can't output the prompt message when successfully clear breakpoints by "filename:lineno"

2021-02-25 Thread huzhaojie
New submission from huzhaojie : In Pdb, when successfully clear breakpoints, the Pdb should output a message:"Deleted XXX", but when breakpoints are cleared by filename:lineno, the message can't be output. I think it's related to the following code. ```python pdb.py: def do_clear(self,

[issue43318] pdb can't output the prompt message when successfully clear breakpoints by "filename:lineno"

2021-02-25 Thread huzhaojie
Change by huzhaojie : -- keywords: +patch pull_requests: +23431 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24646 ___ Python tracker ___