summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-14 18:30:15 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-14 18:30:15 (GMT)
commit92df0c67d013fcfc2042ccc3106fb9d1f077d783 (patch)
tree3e7b232d91929828ac64143eba2c80928672a402
parent7ac4878773040158038031a85be122d9e7071afe (diff)
downloadcpython-92df0c67d013fcfc2042ccc3106fb9d1f077d783.zip
cpython-92df0c67d013fcfc2042ccc3106fb9d1f077d783.tar.gz
cpython-92df0c67d013fcfc2042ccc3106fb9d1f077d783.tar.bz2
Added to-do list.
-rwxr-xr-xLib/pdb.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index d9104cf..789b57b 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -1,4 +1,16 @@
-# pdb.py -- finally, a Python debugger!
+# pdb.py -- finally, a Python debugger! See below for instructions.
+
+
+# To do:
+# - Keep a list of exceptions trapped (default only KeyboardInterrupt?)
+# - It should be possible to intercept KeyboardInterrupt completely
+# - Handle return events differently (how?)
+# - When stopping on an exception, show traceback stack
+# - Merge with tb (for post-mortem usage)
+# - Show stack traces upside-down (like dbx/gdb) ???
+# (actually, the current way is more natural given the directions
+# taken by the up/down commands)
+
# To use the debugger in its simplest form:
# >>> import pdb