Author hjzin
Recipients hjzin, iritkatriel
Date 2021-02-25.12:37:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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

2. set a breakpoint on any line of the file:

(Pdb) b 2
Breakpoint 1 at
(Pdb) b
Num Type         Disp Enb   Where
1   breakpoint   keep yes   at

3. when clear the breakpoint using breakpoint number, it will get a output("Deleted breakpoint 1 at ..."):

(Pdb) cl 1
Deleted breakpoint 1 at

4. set another breakpoint:

(Pdb) b 3
Breakpoint 2 at

5. if breakpoint is cleared using (filename:lineno), it gets nothing:

Date User Action Args
2021-02-25 12:37:15hjzinsetrecipients: + hjzin, iritkatriel
2021-02-25 12:37:15hjzinsetmessageid: <>
2021-02-25 12:37:15hjzinlinkissue43318 messages
2021-02-25 12:37:15hjzincreate