Message249794
Pdb says "Running 'cont' or 'step' will restart the program" but it seems to restart on any recognized command other than 'h' and traps everything else. I verified behavior on Win7 with ordinary syntax error 'a = = 1' on installed 2.7.10 and 3.4.3. Removed qualifiers from title.
Doc says
'''
python3 -m pdb myscript.py
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.'''
But not being able to exit could not have been the intention. Looking at the code. |
|
Date |
User |
Action |
Args |
2015-09-04 17:29:53 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, shlomif |
2015-09-04 17:29:53 | terry.reedy | set | messageid: <1441387793.57.0.463073792238.issue24957@psf.upfronthosting.co.za> |
2015-09-04 17:29:53 | terry.reedy | link | issue24957 messages |
2015-09-04 17:29:52 | terry.reedy | create | |
|