summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a few type mismatches in pdb (#125952)Tian Gao2024-10-251-4/+4
|
* gh-125884: Support breakpoint on functions with annotations (#125892)Tian Gao2024-10-231-2/+5
|
* gh-125378: Trigger a repeat for the full multi-line statement for empty line ↵Tian Gao2024-10-191-0/+1
| | | | command (#125717)
* gh-125600: Only show stale code warning on source code display commands ↵Tian Gao2024-10-181-4/+20
| | | | (#125601)
* gh-125115: Pass unknown pdb command line args to script instead of fail ↵Tian Gao2024-10-151-6/+24
| | | | | (#125424) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-100141: Allow pdb to deal with empty file (#125425)Tian Gao2024-10-151-2/+1
|
* gh-91818: Use default program name in the CLI of many modules (GH-124867)Serhiy Storchaka2024-10-091-2/+1
| | | | | | As argparse now detects by default when the code was run as a module. This leads to using the actual executable name instead of simply "python" to display in the usage message ("usage: python -m ...").
* gh-124400: Use the normal command path for breakpoint commands (#124401)Tian Gao2024-09-291-35/+20
| | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* Cleanup unnecessary curframe_locals usage (#124369)Tian Gao2024-09-261-19/+11
|
* gh-123756: Disable restart command if pdb is in inline mode (#123757)Tian Gao2024-09-251-3/+9
|
* gh-120254: Add a `commands` argument to `pdb.set_trace` (#120255)Tian Gao2024-09-241-4/+9
|
* Fix typos in comments and docstring (#122720)Xie Yanbo2024-08-071-1/+1
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-121450: Make inline breakpoints use the most recent pdb instance (#121451)Tian Gao2024-07-111-1/+12
|
* gh-118714: Make the pdb post-mortem restart/quit behavior more reasonable ↵Tian Gao2024-07-031-3/+6
| | | | (#118725)
* gh-120769: Add pdb meta command to print frame status. (#120770)Tian Gao2024-06-201-9/+17
|
* gh-120606: Allow EOF to exit pdb commands definition (#120607)Tian Gao2024-06-191-0/+3
|
* gh-119824: Print stack entry when user input is needed (#119882)Tian Gao2024-06-141-11/+39
| | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-118673: Remove shebang and executable bits from stdlib modules. (#119658)Jason R. Coombs2024-05-291-2/+0
| | | | | | | * gh-118673: Remove shebang and executable bits from stdlib modules. * Removed shebangs and exe bits on turtledemo scripts. The setting was inappropriate for '__main__' and inconsistent across the other modules. The scripts can still be executed directly by invoking with the desired interpreter.
* gh-74929: PEP 667 general docs update (gh-119201)Alyssa Coghlan2024-05-211-3/+6
| | | | | | | | * expand on What's New entry for PEP 667 (including porting notes) * define 'optimized scope' as a glossary term * cover comprehensions and generator expressions in locals() docs * review all mentions of "locals" in documentation (updating if needed) * review all mentions of "f_locals" in documentation (updating if needed)
* GH-83151: Add closure support to pdb (GH-111094)Tian Gao2024-05-061-1/+89
|
* GH-111744: Make breakpoint() enter the debugger immediately (GH-118579)Tian Gao2024-05-051-0/+2
|
* gh-113081: Print colorized exception just like built-in traceback in pdb ↵Tian Gao2024-05-041-1/+2
| | | | (#113082)
* gh-118500: Add pdb support for zipapp (#118501)Tian Gao2024-05-021-3/+47
|
* gh-117618: Make package.module searchable for breakpoints and clean up docs ↵Tian Gao2024-04-301-9/+15
| | | | (#117619)
* Refactor pdb executable targets (#112570)Tian Gao2024-03-291-41/+36
| | | Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* gh-113548: Allow CLI arguments to `pdb -m` (#113557)Tian Gao2024-03-271-9/+15
|
* gh-112948: Make pdb completion similar to repl completion (#112950)Tian Gao2024-03-251-15/+28
|
* gh-90095: Ignore empty lines and comments in `.pdbrc` (#116834)Tian Gao2024-03-151-1/+4
|
* gh-90095: Make .pdbrc work properly and add some reasonable tests (#110496)Tian Gao2024-03-111-34/+13
|
* gh-87115: Set `__main__.__spec__` to `None` in pdb (#116141)Tian Gao2024-02-291-0/+1
|
* gh-59013: Set breakpoint on the first executable line of function when using ↵Tian Gao2024-01-311-19/+32
| | | | `break func` in pdb (#112470)
* gh-111051: Check if file is modifed during debugging in `pdb` (#111052)Tian Gao2024-01-251-0/+21
|
* gh-112343: pdb: Use tokenize to replace convenience variables (#112380)Tian Gao2024-01-171-1/+35
|
* gh-102980: Redirect output of pdb's `interact` command, add tests and ↵Tian Gao2023-12-071-3/+14
| | | | improve docs (#111194)
* gh-99367: Do not mangle sys.path[0] in pdb if safe_path is set (#111762)Tian Gao2023-11-271-2/+4
| | | | Co-authored-by: Christian Walther <cwalther@users.noreply.github.com>
* gh-110944: Make pdb completion work for alias and convenience vars (GH-110945)Tian Gao2023-11-141-1/+17
|
* gh-111719: Add extra check for alias command (#111720)Tian Gao2023-11-041-6/+27
|
* gh-59013: Make line number of function breakpoint more precise (#110582)Tian Gao2023-10-271-1/+18
|
* GH-102895 Add an option local_exit in code.interact to block exit() from ↵Tian Gao2023-10-181-1/+1
| | | | terminating the whole process (GH-102896)
* gh-108791: Fix `pdb` CLI invalid argument handling (#108816)Radislav Chugunov2023-10-161-0/+6
|
* gh-84583: Make pdb enter post-mortem mode even for SyntaxError (#110883)Tian Gao2023-10-151-6/+3
|
* gh-65052: Prevent pdb from crashing when trying to display objects (#110578)Tian Gao2023-10-111-7/+14
|
* gh-106670: Set convenience variable for post mortem debugging (#110493)Tian Gao2023-10-091-0/+8
|
* gh-109164: Replace `getopt` with `argparse` in pdb (#109165)Tian Gao2023-09-221-18/+26
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-109375: Fix bug where pdb registers an alias without an associated ↵buermarc2023-09-141-2/+5
| | | | command (#109376)
* GH-106734: Disable tab completion in pdb's multiline mode (GH-106735)Tian Gao2023-09-121-21/+38
|
* gh-106670: Fix Pdb handling of chained Exceptions with no stacks. (#108865)Matthias Bussonnier2023-09-061-5/+24
|
* gh-108463: Make expressions/statements work as expected in pdb (#108464)Tian Gao2023-09-041-0/+3
|
* gh-106670: Allow Pdb to move between chained exceptions (#106676)Matthias Bussonnier2023-08-281-18/+124
|
* GH-103124: Multiline statement support for pdb (GH-103125)Tian Gao2023-06-151-1/+25
|