This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients kbk, ppperry, roger.serwy, terry.reedy
Date 2016-05-04.20:51:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462395098.97.0.302049116339.issue26949@psf.upfronthosting.co.za>
In-reply-to
Content
To be more specific: if one runs a file, the shell is restarted (with the file name).  In the file, raise SystemExit is normally the same as running off the end of the file, and a prompt is printed.  If one runs a file with debugger on, [DEBUG ON] is printed before the prompt.  However, SystemExit while debugging causes a Restart Shell before the [DEBUG ON] and >>> prompt.  The 2nd restart does not normally happen when debugging finishes.  It does not happen when any other exception is raised; instead a traceback is printed as normal.

This is a minor bug, but it does prevent interactive examination of the process after debugging.

There is special code in run.py to catch SystemExit and not print a traceback.  My guess in a bug in RemoteDebugger.py that causes (allows) the execution process to exit or otherwise get detached from the IDLE process.  When the IDLE process loses contact with the current execution process, it starts a new one.
History
Date User Action Args
2016-05-04 20:51:39terry.reedysetrecipients: + terry.reedy, kbk, roger.serwy, ppperry
2016-05-04 20:51:38terry.reedysetmessageid: <1462395098.97.0.302049116339.issue26949@psf.upfronthosting.co.za>
2016-05-04 20:51:38terry.reedylinkissue26949 messages
2016-05-04 20:51:38terry.reedycreate