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.

classification
Title: IDLE: disable selecting debugger when user code is running
Type: behavior Stage: needs patch
Components: IDLE Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: kbk, markroseman, roger.serwy, terry.reedy
Priority: normal Keywords:

Created on 2015-08-07 04:34 by markroseman, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg248170 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-07 04:34
Right now when you're running a program you can still select the 'debugger' item in the menu... you just get an error dialog "you can only toggle the debugger when idle" (with a title "don't debug now").

While I got a kick out of the title and using the word "idle" in the error message, the menu item should just be disabled when it's not relevant
msg248221 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-07 19:50
Stackviewer should also be disabled when not applicable, which I believe included while debugger is running (unless it is modified, or including in debugger).
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 69004
2020-01-07 22:15:54terry.reedysetassignee: terry.reedy
stage: needs patch
title: don't allow selecting IDLE debugger menu item when running -> IDLE: disable selecting debugger when user code is running
versions: + Python 3.9, - Python 2.7, Python 3.5, Python 3.6
2015-08-07 19:50:17terry.reedysetmessages: + msg248221
2015-08-07 04:34:10markrosemancreate