mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-44554: refactor pdb targets (and internal tweaks) (GH-26992)
- Refactor module/script handling to share an interface (check method). - Import functools and adjust tests for the new line number for find_function. - Use cached_property for details. - Add blurb. Automerge-Triggered-By: GH:jaraco
This commit is contained in:
parent
35b98e38b6
commit
2c20558844
4 changed files with 111 additions and 66 deletions
|
@ -362,7 +362,7 @@ def test_pdb_breakpoints_preserved_across_interactive_sessions():
|
|||
1 breakpoint keep yes at ...test_pdb.py:...
|
||||
2 breakpoint keep yes at ...test_pdb.py:...
|
||||
(Pdb) break pdb.find_function
|
||||
Breakpoint 3 at ...pdb.py:94
|
||||
Breakpoint 3 at ...pdb.py:97
|
||||
(Pdb) break
|
||||
Num Type Disp Enb Where
|
||||
1 breakpoint keep yes at ...test_pdb.py:...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue