Skip to content

IDLE: disable selecting debugger when user code is running #69004

Closed

Description

@roseman
mannequin
BPO 24816
Nosy @terryjreedy, @kbkaiser, @serwy, @roseman

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/terryjreedy'
closed_at = None
created_at = <Date 2015-08-07.04:34:10.350>
labels = ['expert-IDLE', 'type-bug', '3.9']
title = 'IDLE: disable selecting debugger when user code is running'
updated_at = <Date 2020-01-07.22:15:54.549>
user = 'https://github.com/roseman'

bugs.python.org fields:

activity = <Date 2020-01-07.22:15:54.549>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2015-08-07.04:34:10.350>
creator = 'markroseman'
dependencies = []
files = []
hgrepos = []
issue_num = 24816
keywords = []
message_count = 2.0
messages = ['248170', '248221']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'kbk', 'roger.serwy', 'markroseman']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue24816'
versions = ['Python 3.9']

Linked PRs

Activity

  1. roseman commented on Aug 7, 2015

    rosemanmannequin
    MannequinAuthor

    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

  2. terryjreedy commented on Aug 7, 2015

    @terryjreedy
    Member

    Stackviewer should also be disabled when not applicable, which I believe included while debugger is running (unless it is modified, or including in debugger).

  3. changed the title [-]don't allow selecting IDLE debugger menu item when running[/-] [+]IDLE: disable selecting debugger when user code is running[/+] on Jan 7, 2020
  4. self-assigned this
    on Jan 7, 2020
  5. transferred this issue fromon Apr 10, 2022
  6. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Nov 23, 2023
  7. removed
    stdlibStandard Library Python modules in the Lib/ directory
    on Jan 15, 2026
  8. serhiy-storchaka commented on Sep 15, 2026

    @serhiy-storchaka
    Member

    Stack Viewer was done in GH-17163; #157599 does the same for the Debugger item.

  9. added 2 commits that reference this issue on Sep 16, 2026
  10. added a commit that references this issue on Sep 16, 2026
  11. added a commit that references this issue on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

topic-IDLEtype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions