Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103) | Daniel Hahler | 2019-03-12 | 1 | -7/+5 |
| | | | | This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise. | ||||
* | bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782) | Daniel Hahler | 2019-02-15 | 1 | -1/+7 |
| | | | | | | | | Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931 | ||||
* | bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474) | Mario Corchero | 2018-02-03 | 1 | -1/+1 |
| | | | | Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule. | ||||
* | bpo-32206: Update pdb usage to include new module option (GH-5111) | Mario Corchero | 2018-01-28 | 1 | -2/+4 |
| | |||||
* | bpo-32206: Pdb can now run modules (GH-4752) | Mario Corchero | 2018-01-06 | 1 | -4/+29 |
| | | | | | | | | | | | Add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_name`. This relies on private APIs in the runpy module to work, but we can get away with that since they're both part of the standard library and can be updated together if the runpy internals get refactored. | ||||
* | bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438) | Barry Warsaw | 2017-09-22 | 1 | -2/+5 |
| | | | | | | | | | | * Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new. | ||||
* | Issue #20766: Merge with 3.5. | Xavier de Gaye | 2016-10-12 | 1 | -3/+7 |
|\ | |||||
| * | Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers. | Xavier de Gaye | 2016-10-12 | 1 | -3/+7 |
| | | |||||
* | | Issue #18401: pdb tests don't read ~/.pdbrc anymore | Łukasz Langa | 2016-09-10 | 1 | -10/+12 |
|/ | | | | Patch by Martin Matusiak and Sam Kimbrel. | ||||
* | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | merge from 3.4 | Terry Jan Reedy | 2015-09-05 | 1 | -0/+3 |
|\ | |||||
| * | Issue #16180: Exit pdb if file has syntax error, instead of trapping user | Terry Jan Reedy | 2015-09-05 | 1 | -0/+3 |
| | | | | | | | | in an infinite loop. Patch by Xavier de Gaye. | ||||
* | | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Févry Thibault. | ||||
| * | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -1/+1 |
| | | | | | | | | Patch by Févry Thibault. | ||||
* | | Issue #22032: __qualname__ instead of __name__ is now always used to format | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
|/ | | | | fully qualified class names of Python implemented classes. | ||||
* | Issue #19076: Don't pass the redundant 'file' argument to self.error(). | Berker Peksag | 2014-07-12 | 1 | -1/+1 |
| | |||||
* | Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier ↵ | Guido van Rossum | 2013-11-21 | 1 | -2/+10 |
| | | | | de Gaye. | ||||
* | merge with 3.3 | Georg Brandl | 2013-10-14 | 1 | -0/+4 |
|\ | |||||
| * | Closes #17154: error out gracefully on "ignore" or "condition" without argument. | Georg Brandl | 2013-10-14 | 1 | -0/+4 |
| | | |||||
* | | pdb: modernize find_function() and add tests for it. | Georg Brandl | 2013-10-13 | 1 | -12/+5 |
| | | | | | | | | Closes #18714. | ||||
* | | 18764: remove the problematic 'print' alias for the PDB 'p' command. | R David Murray | 2013-10-10 | 1 | -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 Melotti | 2013-08-17 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -2/+2 |
| | | |||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -5/+5 |
|/ | |||||
* | Merge issue #13120: Allow to call pdb.set_trace() from thread. | Andrew Svetlov | 2012-12-04 | 1 | -2/+9 |
|\ | | | | | | | Patch by Ilya Sandler. | ||||
| * | Issue #13120: Allow to call pdb.set_trace() from thread. | Andrew Svetlov | 2012-12-04 | 1 | -2/+9 |
| | | | | | | | | Patch by Ilya Sandler. | ||||
* | | Close #14210: add command argument completion to pdb: complete file names, ↵ | Georg Brandl | 2012-03-10 | 1 | -0/+95 |
|/ | | | | global/local variables, aliases | ||||
* | Add display/undisplay pdb commands. | Georg Brandl | 2010-12-04 | 1 | -2/+66 |
| | |||||
* | #7245: Add a SIGINT handler on continue in pdb that allows to break a ↵ | Georg Brandl | 2010-12-04 | 1 | -5/+32 |
| | | | | program again by pressing Ctrl-C. | ||||
* | Add the "interact" pdb command from pdb++. | Georg Brandl | 2010-12-04 | 1 | -4/+15 |
| | |||||
* | Use booleans where applicable. | Georg Brandl | 2010-11-29 | 1 | -10/+10 |
| | |||||
* | Remove the comment used while testing. | Senthil Kumaran | 2010-11-29 | 1 | -1/+0 |
| | |||||
* | Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number. | Senthil Kumaran | 2010-11-29 | 1 | -1/+2 |
| | | | | | Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye. | ||||
* | Remove unused imports. | Georg Brandl | 2010-10-14 | 1 | -3/+1 |
| | |||||
* | #9964: fix pdb failure to import under -OO. Warn the user that help is ↵ | Georg Brandl | 2010-10-14 | 1 | -15/+20 |
| | | | | simply not available in this case. | ||||
* | Use a context manager for some file objects. | Florent Xicluna | 2010-09-03 | 1 | -10/+4 |
| | |||||
* | Part of #7245: when KeyboardInterrupt is raised while defining commands, ↵ | Georg Brandl | 2010-07-30 | 1 | -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 Brandl | 2010-07-30 | 1 | -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 Brandl | 2010-07-30 | 1 | -2/+11 |
| | |||||
* | Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni. | Georg Brandl | 2010-07-30 | 1 | -17/+58 |
| | |||||
* | Several enhancements to pdb and its test suite. | Georg Brandl | 2010-07-30 | 1 | -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 Brandl | 2010-07-30 | 1 | -71/+46 |
| | | | | functional test for these commands. | ||||
* | #6719: In pdb, do not stop somewhere in the encodings machinery if the ↵ | Georg Brandl | 2010-07-30 | 1 | -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 Brandl | 2010-07-30 | 1 | -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 Brandl | 2010-07-30 | 1 | -0/+10 |
| | |||||
* | Allow giving an explicit line number to "until". | Georg Brandl | 2010-07-30 | 1 | -8/+23 |
| | |||||
* | #1437051: allow "continue"/"next"/etc. in .pdbrc, also add pdb -c option to ↵ | Georg Brandl | 2010-07-30 | 1 | -18/+55 |
| | | | | give these commands. This allows to run a script until an exception occurs. |