[Python-checkins] python/dist/src/Doc/lib libpdb.tex,1.42,1.43

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Thu Nov 18 09:39:36 CET 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5298
Modified Files:
	libpdb.tex 
Log Message:
SF patch #1068456: small update for pdb docs
Index: libpdb.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpdb.tex,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- libpdb.tex	7 Nov 2004 06:18:37 -0000	1.42
+++ libpdb.tex	18 Nov 2004 08:39:33 -0000	1.43
@@ -42,6 +42,13 @@
 python -m pdb myscript.py
 \end{verbatim}
 
+When invoked as a script, pdb will automatically enter post-mortem debugging
+if the program being debugged exits abnormally. After post-mortem debugging
+(or after normal exit of the program), pdb will restart the program.
+Automatic restarting preserves pdb's state (such as breakpoints) and in most
+cases is more useful than quitting the debugger upon program's exit.
+\versionadded[Restarting post-mortem behavior added]{2.4}
+
 Typical usage to inspect a crashed program is:
 
 \begin{verbatim}


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /