Commit Graph

106 Commits

Author SHA1 Message Date
Georg Brandl
5815220a68 Fix overlong lines. 2009-05-05 09:06:02 +00:00
Georg Brandl
4d4313d59d #5142: add module skipping feature to pdb. 2009-05-05 08:54:11 +00:00
Georg Brandl
dd98e04c57 Actually the displayhook should print the repr. 2009-04-02 17:43:07 +00:00
Georg Brandl
569fc96f99 Fix test_doctest, missed two assignments to curframe. 2009-04-02 02:00:01 +00:00
Georg Brandl
e361bcb43f Cache the f_locals dict of the current frame, since every access to frame.f_locals overrides its contents with the real locals which undoes modifications made by the debugging user. 2009-04-01 23:32:17 +00:00
Georg Brandl
58b8b95cdb In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext. 2009-04-01 21:54:21 +00:00
Georg Brandl
00b6590821 Revert accidental checkin. 2009-04-01 21:06:30 +00:00
Georg Brandl
5942b91759 Add NEWS item. 2009-04-01 21:05:44 +00:00
Nick Coghlan
a2053475bb Fix several issues relating to access to source code inside zipfiles. Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details. 2008-12-14 10:54:50 +00:00
Benjamin Peterson
c18574c98e fix #4150: pdb's up command didn't work for generators in post-mortem 2008-10-22 21:16:34 +00:00
Brett Cannon
c6a30ecf7a Remove use of tuple unpacking and dict.has_key() so as to silence
SyntaxWarning as triggered by -3.
2008-08-01 01:36:47 +00:00
Brett Cannon
2ee0e8eaec Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
Alexandre Vassalotti
50a1acb2ab Changed references to the reprlib module to use its new name. 2008-05-16 06:58:49 +00:00
Benjamin Peterson
98353941ea Add the "until" command to pdb 2008-05-11 14:13:25 +00:00
Benjamin Peterson
13be2cf284 Added help options to PDB 2008-03-26 11:57:47 +00:00
Facundo Batista
c54aec1fda Issue 1106316. post_mortem()'s parameter, traceback, is now
optional: it defaults to the traceback of the exception that is currently
being handled.
2008-03-08 16:50:27 +00:00
Amaury Forgeot d'Arc
ff0f2670ff test_doctest fails since r59984.
Not sure if these are the correct values, but save_stdout has to be set before its usage...
2008-01-15 21:25:11 +00:00
Guido van Rossum
cad3724352 Issue #1786 (by myself): pdb should use its own stdin/stdout around an
exec call and when creating a recursive instance.
2008-01-15 17:59:29 +00:00
Neal Norwitz
0d4c06e06e Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time.  Be gentle. :-)
2007-04-25 06:30:05 +00:00
Georg Brandl
b6ae6aa8ac Patch #1429539: pdb now correctly initializes the __main__ module for
the debugged script, which means that imports from __main__ work
correctly now.
2007-03-13 21:58:44 +00:00
Georg Brandl
8e84c65660 Patch #1393667: pdb now has a "run" command which restarts the debugged
Python program, optionally with different arguments.
2007-03-13 21:08:15 +00:00
Collin Winter
2faa9e1466 Patch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the IndexError caused by passing in an invalid breakpoint number.
Will backport.
2007-03-11 16:00:20 +00:00
Georg Brandl
b27831887f Add missing "return" statements in exception handler. 2007-03-11 08:28:46 +00:00
Georg Brandl
e498083b59 Bug #1627316: handle error in condition/ignore pdb commands more gracefully. 2007-01-22 21:23:41 +00:00
Andrew M. Kuchling
e6728252a3 [Bug #1526834] Fix crash in pdb when you do 'b f(';
the function name was placed into a regex pattern and the unbalanced paren
caused re.compile() to report an error
2006-09-05 13:19:18 +00:00