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
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
Change by huzhaojie :
--
keywords: +patch
pull_requests: +23431
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24646
___
Python tracker
<https://bugs.python.org/issu
Change by huzhaojie :
--
components: Library (Lib)
nosy: hjzin
priority: normal
severity: normal
status: open
title: pdb can't output the prompt message when successfully clear a breakpoint
by "filename:lineno"
type: behavior
versions: Python 3.10, Python 3.8,