Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Svetlov 96bc04369a Skip pdb test for #13120 if threading is not available. 2012-12-05 15:06:23 +02:00
Andrew Svetlov 539ee5da6f Issue #13120: Allow to call pdb.set_trace() from thread.
Patch by Ilya Sandler.
2012-12-04 21:08:28 +02:00
Georg Brandl b4c8902a87 #13183: backport fixes to test_pdb to 3.2 branch 2012-05-06 11:50:00 +02:00
Senthil Kumaran cb172041d3 fix windows test failure - issue13183 2012-05-02 08:00:22 +08:00
Senthil Kumaran 42d7081806 issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
Georg Brandl 34748cd6a8 Fix test suite to not activate new sigint behavior in pdb. 2010-12-04 17:11:36 +00:00
Senthil Kumaran 6f1070485f Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.
Handle multiple breakpoints at same line. Update docs/test.
Patch by Xavier de Gaye.
2010-11-29 11:54:17 +00:00
Brian Curtin 994ad6c775 Fix ResourceWarning from subprocess pipe. 2010-11-05 15:38:47 +00:00
Georg Brandl a8fbc6a521 Import test_pdb with its full name, so that running python -m test.test_pdb succeeds. 2010-07-31 11:52:46 +00:00
Georg Brandl e1e8df1082 Fix pdb test failures on the buildbots. 2010-07-31 08:14:16 +00:00
Georg Brandl 0a9c3e91dc Show the traceback line numbers as well as the current line numbers if an exception is being debugged. Courtesy of pdb++ by Antonio Cuni. Also document -> and >> markers for "list". 2010-07-30 18:46:38 +00:00
Georg Brandl cdf66a9a7c Test that "source" with nonexisting things works as expected. 2010-07-30 18:15:16 +00:00
Georg Brandl e59ca2afe3 Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni. 2010-07-30 17:04:28 +00:00
Georg Brandl 0d08962659 Several enhancements to pdb and its test suite.
* 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)
2010-07-30 16:00:46 +00:00
Georg Brandl 6cccb865d1 #7964 followup: add test case to ensure issue remains fixed. 2010-07-30 14:16:43 +00:00
Georg Brandl 7410dd11ef #809887: improve pdb feedback for breakpoint-related actions. Also add a functional test for these commands. 2010-07-30 12:01:20 +00:00
Georg Brandl 3f94089a77 #5294: Fix the behavior of pdb "continue" command when called in the top-level debugged frame. 2010-07-30 10:29:19 +00:00
Georg Brandl 46b9afc862 #1472251: remove addition of "\n" to code given to pdb.run[eval](), the bug in exec() that made this necessary has been fixed. Also document that you can give code objects to run() and runeval(), and add some tests to test_pdb. 2010-07-30 09:14:20 +00:00
Georg Brandl 1b37e8728c Merged revisions 78093 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line

  Remove unused imports in test modules.
........
2010-03-14 10:45:50 +00:00
Georg Brandl 9fa2e02fe2 Merged revisions 74838-74839 via svnmerge from
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.
........
2009-09-16 16:40:45 +00:00
Georg Brandl 243ad66ba6 Merged revisions 72322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72322 | georg.brandl | 2009-05-05 10:54:11 +0200 (Di, 05 Mai 2009) | 1 line

  #5142: add module skipping feature to pdb.
........
2009-05-05 09:00:19 +00:00