Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix several issues relating to access to source code inside zipfiles. ↵ | Nick Coghlan | 2008-12-14 | 1 | -2/+2 |
| | | | | Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details. | ||||
* | fix #4150: pdb's up command didn't work for generators in post-mortem | Benjamin Peterson | 2008-10-22 | 1 | -0/+2 |
| | |||||
* | Remove use of tuple unpacking and dict.has_key() so as to silence | Brett Cannon | 2008-08-01 | 1 | -3/+3 |
| | | | | SyntaxWarning as triggered by -3. | ||||
* | Revert the renaming of repr to reprlib. | Brett Cannon | 2008-05-23 | 1 | -3/+3 |
| | |||||
* | Changed references to the reprlib module to use its new name. | Alexandre Vassalotti | 2008-05-16 | 1 | -3/+3 |
| | |||||
* | Add the "until" command to pdb | Benjamin Peterson | 2008-05-11 | 1 | -16/+17 |
| | |||||
* | #2498 modernized try, except, finally statements in bdb | Benjamin Peterson | 2008-03-28 | 1 | -12/+9 |
| | |||||
* | Patch #721464: pdb.Pdb instances can now be given explicit stdin and | Georg Brandl | 2006-05-10 | 1 | -7/+9 |
| | | | | | stdout arguments, making it possible to redirect input and output for remote debugging. | ||||
* | Patch #1191700: Adjust column alignment in bdb breakpoint lists. | Martin v. Löwis | 2006-04-15 | 1 | -3/+3 |
| | | | | Backported to 2.4. | ||||
* | Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made | Johannes Gijsbers | 2004-11-07 | 1 | -3/+7 |
| | | | | | | | the debugger enter inside pdb.set_trace. Patch #1061767: make pdb.set_trace enter enter at the stack frame calling pdb.set_trace(). | ||||
* | SF bug #1052503: pdb runcall should accept keyword arguments | Raymond Hettinger | 2004-10-24 | 1 | -2/+2 |
| | |||||
* | Patch #1003640: replace checkline() function parsing with new breakpoint logic: | Johannes Gijsbers | 2004-08-30 | 1 | -4/+41 |
| | | | | | | | | | | | | | 1) When a breakpoint is set via a function name: - the breakpoint gets the lineno of the def statement - a new funcname attribute is attached to the breakpoint 2) bdb.effective() calls new function checkfuncname() to handle: - def statement is executed: don't break. - a first executable line of a function with a breakpoint on the lineno of the def statement is reached: break. This fixes bugs 976878, 926369 and 875404. Thanks Ilya Sandler. | ||||
* | Enable the profiling of C functions (builtins and extensions) | Nicholas Bastin | 2004-03-24 | 1 | -0/+6 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -2/+2 |
| | | | | From SF patch #852334. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -1/+1 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -9/+9 |
| | |||||
* | Whitespace normalization | Neal Norwitz | 2002-05-29 | 1 | -2/+2 |
| | |||||
* | This is a Python 2.1 and 2.2 bugfix candidate: | Christian Tismer | 2002-05-28 | 1 | -11/+5 |
| | | | | | | | | | | | | | | | | | (or how do I "mark" something to be a candidate?) fixed an old buglet that caused bdb to be unable to continue in the botframe, after a breakpoint was set. the key idea is not to set botframe to the bottom level frame, but its f_back, which actually might be None. Additional changes: migrated old exception trick to use sys._getframe(), which exists both in 2.1 and 2.2 . Note: I believe Mark Hammond needs to look over his code now. F5 correctly starts up in the debugger, but later on doesn't stop at a given breakpoint any longer. kind regards - chris | ||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -8/+8 |
| | |||||
* | Use docstrings for exception classes | Neal Norwitz | 2002-03-31 | 1 | -1/+2 |
| | |||||
* | Stop using string exceptions | Neal Norwitz | 2002-03-31 | 1 | -1/+1 |
| | |||||
* | canonic(): Fix by Edward K Ream to make breakpoints work better on | Guido van Rossum | 2002-02-25 | 1 | -0/+1 |
| | | | | | | | Windows: apply normcase() as well as abspath(). (Note: this isn't needed to make IDLE work, but it's a good idea anyway.) Bugfix candidate -- both 2.2.1 and 2.1.3. | ||||
* | SF #515005, change "1 + ''" (which pychecker warns about being invalid) | Neal Norwitz | 2002-02-11 | 1 | -2/+2 |
| | | | | into "raise Exception". | ||||
* | canonic(): don't use abspath() for filenames looking like <...>; this | Guido van Rossum | 2001-11-29 | 1 | -0/+2 |
| | | | | | fixes the problem reported in SF bug #477023 (Jonathan Mark): "pdb: unexpected path confuses Emacs". | ||||
* | Return self.trace_dispatch from dispatch_return() to enable stepping through ↵ | Just van Rossum | 2001-06-25 | 1 | -0/+1 |
| | | | | generators. (An alternative would be to create a new "yield" debugger event, but that involves many more changes, and might break Bdb subclasses.) | ||||
* | Make it clear that a bdb subclass must implement do_clear(). | Guido van Rossum | 2001-04-08 | 1 | -0/+3 |
| | | | | This was found by Neal Norwitz's PyChecker. | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -4/+6 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 1 | -0/+2 |
| | | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation. | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -44/+44 |
| | |||||
* | Mass patch by Ka-Ping Yee: | Guido van Rossum | 2000-02-02 | 1 | -526/+526 |
| | | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old). | ||||
* | Change two occurrences of type(x) <> types.CodeType into | Guido van Rossum | 2000-01-19 | 1 | -2/+2 |
| | | | | | | isinstance(x, types.CodeType). Suggested by Finn Bock. | ||||
* | canonic(): This used to be equivalent to str() but that caused too | Barry Warsaw | 1999-09-09 | 1 | -6/+9 |
| | | | | | | | much breakage (esp. in JPython which holds absolute path names in co_filename already). This implementation uses os.path.abspath() as a slightly better way to canonicalize path names. It implements a cache. | ||||
* | Embarrassing: remove a debug print statement from set_break() for the | Guido van Rossum | 1999-01-29 | 1 | -1/+0 |
| | | | | second time! | ||||
* | Support a canonical() method, implementable by a derived class, to be | Guido van Rossum | 1999-01-29 | 1 | -6/+20 |
| | | | | | | | | applied to all filenames before they are compared, looked up in the breaks dictionary, etc. The default implementation does nothing -- it's implented as fast as possible via str(). A useful implementation would make everything a absolute, e.g. return os.path.normcase( os.path.abspath(filename)). | ||||
* | Correct typo in new function get_breaks(). | Guido van Rossum | 1999-01-25 | 1 | -1/+1 |
| | |||||
* | Change clear_break() to the old signature clear_break(file, line). | Guido van Rossum | 1999-01-25 | 1 | -26/+40 |
| | | | | | | | | Add new clear_bpbynumber() with single bpno argument. (Adapted from a patch by Richard Wolff.) Also some cleanup in error messages and moved some comments into a docstring. | ||||
* | Bomb on deleting a temporary breakpoint: there's no method | Guido van Rossum | 1998-11-18 | 1 | -1/+1 |
| | | | | do_delete(); do_clear() was meant. By Greg Ward. | ||||
* | Don't set a local variable named __args__; this feature no longer | Guido van Rossum | 1998-09-28 | 1 | -1/+1 |
| | | | | works and Greg Ward just reported a problem it caused... | ||||
* | Richard Wolff's changes: | Guido van Rossum | 1998-09-11 | 1 | -23/+172 |
| | | | | | | | | | bdb.py now has a class definition called Breakpoint along with associated methods. There's no reason why this class has to be there; if you prefer it elsewhere, 'tis easily done. (Minor reformatting by GvR; e.g. moved Breakpoint's doc string to proper point.) | ||||
* | Use sys.exc_info() where needed. | Guido van Rossum | 1997-09-29 | 1 | -2/+2 |
| | |||||
* | Normalize whitespace. | Guido van Rossum | 1997-07-11 | 1 | -4/+4 |
| | |||||
* | Support for conditional breakpoints (Jim Fulton). | Guido van Rossum | 1997-07-11 | 1 | -4/+16 |
| | |||||
* | Allow code objects to be passed to run() and eval(). | Guido van Rossum | 1996-10-15 | 1 | -2/+7 |
| | |||||
* | handle class exceptions; added runeval; made runctx obsolete | Guido van Rossum | 1995-02-27 | 1 | -7/+30 |
| | |||||
* | fix formatting of stack entries | Guido van Rossum | 1995-02-03 | 1 | -2/+6 |
| | |||||
* | improved prompt format | Guido van Rossum | 1994-11-10 | 1 | -2/+2 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -9/+38 |
| | |||||
* | * Mass change: get rid of all init() methods, in favor of __init__() | Guido van Rossum | 1993-12-17 | 1 | -3/+0 |
| | | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments) | ||||
* | pdb.py, bdb.py, cmd.py: use __init__() instead of init() | Guido van Rossum | 1993-06-23 | 1 | -2/+4 |
| | |||||
* | * Got entirely rid of path.py. | Guido van Rossum | 1992-12-14 | 1 | -1/+2 |
| | | | | | | | | * Many modules: fixes for new, stricter, argument passing rules (most changes were automatic ones -- not all of this is tested!). * gwin.py: now uses mainloop.py for its main loop and window admin. * mainloop.py: always call dispatch() with event as a tuple! * Fix bug in pdb's 'clear' command -- don't set the bpt but clear it! |