summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
Commit message (Collapse)AuthorAgeFilesLines
* merge from 3.4Terry Jan Reedy2015-09-051-0/+3
|\
| * Issue #16180: Exit pdb if file has syntax error, instead of trapping userTerry Jan Reedy2015-09-051-0/+3
| | | | | | | | in an infinite loop. Patch by Xavier de Gaye.
* | Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
|\ \ | |/ | | | | Patch by Févry Thibault.
| * Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
| | | | | | | | Patch by Févry Thibault.
* | Issue #22032: __qualname__ instead of __name__ is now always used to formatSerhiy Storchaka2014-07-221-1/+1
|/ | | | fully qualified class names of Python implemented classes.
* Issue #19076: Don't pass the redundant 'file' argument to self.error().Berker Peksag2014-07-121-1/+1
|
* Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier ↵Guido van Rossum2013-11-211-2/+10
| | | | de Gaye.
* merge with 3.3Georg Brandl2013-10-141-0/+4
|\
| * Closes #17154: error out gracefully on "ignore" or "condition" without argument.Georg Brandl2013-10-141-0/+4
| |
* | pdb: modernize find_function() and add tests for it.Georg Brandl2013-10-131-12/+5
| | | | | | | | Closes #18714.
* | 18764: remove the problematic 'print' alias for the PDB 'p' command.R David Murray2013-10-101-5/+3
| | | | | | | | | | | | So that it no longer shadows the print function. Patch by Connor Osborn, doc and test changes by R. David Murray.
* | #18705: merge with 3.3.Ezio Melotti2013-08-171-2/+2
|\ \ | |/
| * #18705: fix a number of typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-2/+2
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | ModuleNotFoundError.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-5/+5
|/
* Merge issue #13120: Allow to call pdb.set_trace() from thread.Andrew Svetlov2012-12-041-2/+9
|\ | | | | | | Patch by Ilya Sandler.
| * Issue #13120: Allow to call pdb.set_trace() from thread.Andrew Svetlov2012-12-041-2/+9
| | | | | | | | Patch by Ilya Sandler.
* | Close #14210: add command argument completion to pdb: complete file names, ↵Georg Brandl2012-03-101-0/+95
|/ | | | global/local variables, aliases
* Add display/undisplay pdb commands.Georg Brandl2010-12-041-2/+66
|
* #7245: Add a SIGINT handler on continue in pdb that allows to break a ↵Georg Brandl2010-12-041-5/+32
| | | | program again by pressing Ctrl-C.
* Add the "interact" pdb command from pdb++.Georg Brandl2010-12-041-4/+15
|
* Use booleans where applicable.Georg Brandl2010-11-291-10/+10
|
* Remove the comment used while testing.Senthil Kumaran2010-11-291-1/+0
|
* Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.Senthil Kumaran2010-11-291-1/+2
| | | | | Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye.
* Remove unused imports.Georg Brandl2010-10-141-3/+1
|
* #9964: fix pdb failure to import under -OO. Warn the user that help is ↵Georg Brandl2010-10-141-15/+20
| | | | simply not available in this case.
* Use a context manager for some file objects.Florent Xicluna2010-09-031-10/+4
|
* Part of #7245: when KeyboardInterrupt is raised while defining commands, ↵Georg Brandl2010-07-301-1/+20
| | | | restore the old commands instead of producing a traceback.
* Show the traceback line numbers as well as the current line numbers if an ↵Georg Brandl2010-07-301-20/+48
| | | | exception is being debugged. Courtesy of pdb++ by Antonio Cuni. Also document -> and >> markers for "list".
* Fix source finding if the given frame is a module-level frame.Georg Brandl2010-07-301-2/+11
|
* Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.Georg Brandl2010-07-301-17/+58
|
* Several enhancements to pdb and its test suite.Georg Brandl2010-07-301-566/+359
| | | | | | | * added basic test for basic commands * removed duplication of command docs, and moved them to their implementation * unified and useful display of exceptions * output messages and errors using overridable methods (also fixes #1503502)
* #809887: improve pdb feedback for breakpoint-related actions. Also add a ↵Georg Brandl2010-07-301-71/+46
| | | | functional test for these commands.
* #6719: In pdb, do not stop somewhere in the encodings machinery if the ↵Georg Brandl2010-07-301-0/+4
| | | | source file to be debugged is in a non-builtin encoding.
* #8015: fix crash when entering an empty line for breakpoint commands. Also ↵Georg Brandl2010-07-301-5/+9
| | | | restore environment properly when an exception occurs during the definition of commands.
* Document the "jump" command in pdb.__doc__, and add a version tag for "until X".Georg Brandl2010-07-301-0/+10
|
* Allow giving an explicit line number to "until".Georg Brandl2010-07-301-8/+23
|
* #1437051: allow "continue"/"next"/etc. in .pdbrc, also add pdb -c option to ↵Georg Brandl2010-07-301-18/+55
| | | | give these commands. This allows to run a script until an exception occurs.
* #9230: allow Pdb.checkline() to be called without a current frame, for ↵Georg Brandl2010-07-301-2/+5
| | | | setting breakpoints before starting debugging.
* #4179: In pdb, allow "list ." as a command to return to the currently ↵Georg Brandl2010-07-301-2/+3
| | | | debugged line.
* pydoc.pager does not promise to use $PAGER.Georg Brandl2010-07-191-1/+1
|
* #9279: remove the pdb.doc file, put its contents in pdb.__doc__. Also sync ↵Georg Brandl2010-07-181-13/+215
| | | | this and the pdb docs, introduce a new directive for pdb commands and a role to link to them.
* #9064: accept number of frames for "up" and "down" commands in pdb.Georg Brandl2010-06-271-10/+28
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Merged revisions 74838-74839 via svnmerge fromGeorg Brandl2009-09-161-1/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74838 | georg.brandl | 2009-09-16 18:22:12 +0200 (Mi, 16 Sep 2009) | 1 line Remove some more boilerplate from the actual tests in test_pdb. ........ r74839 | georg.brandl | 2009-09-16 18:36:39 +0200 (Mi, 16 Sep 2009) | 1 line Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that. ........
* #6888 fix the alias command with no argumentsBenjamin Peterson2009-09-111-2/+1
|
* #6126: fix pdb stepping and breakpoints by giving the executed code the ↵Georg Brandl2009-08-131-2/+3
| | | | correct filename; this used execfile() in 2.x which did this automatically.
* #6323: pdb doesn't deal well with SyntaxErrors.Amaury Forgeot d'Arc2009-07-091-1/+1
| | | | | | | | | It seems necessary to keep two layers of 'exec' (one in Bdb.run, one in Pdb._runscript); this allows the tracing function to be active when the inner 'exec' runs and tries to compile the real code. This partially revert r58127, the net effet of the two changes is to replace "exec('%s')" with "exec(%r)".
* Merged revisions 72324 via svnmerge fromGeorg Brandl2009-05-051-14/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72324 | georg.brandl | 2009-05-05 11:06:02 +0200 (Di, 05 Mai 2009) | 1 line Fix overlong lines. ........