Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE: run program in debugger from edit window #69006

Open
roseman mannequin opened this issue Aug 7, 2015 · 2 comments
Open

IDLE: run program in debugger from edit window #69006

roseman mannequin opened this issue Aug 7, 2015 · 2 comments
Assignees
Labels
3.9 only security fixes topic-IDLE type-feature A feature request or enhancement

Comments

@roseman
Copy link
Mannequin

roseman mannequin commented Aug 7, 2015

BPO 24818
Nosy @terryjreedy, @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:44:11.214>
labels = ['expert-IDLE', 'type-feature', '3.9']
title = 'IDLE:  run program in debugger from edit window'
updated_at = <Date 2020-01-07.22:14:08.788>
user = 'https://github.com/roseman'

bugs.python.org fields:

activity = <Date 2020-01-07.22:14:08.788>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2015-08-07.04:44:11.214>
creator = 'markroseman'
dependencies = []
files = []
hgrepos = []
issue_num = 24818
keywords = []
message_count = 2.0
messages = ['248175', '248218']
nosy_count = 2.0
nosy_names = ['terry.reedy', 'markroseman']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue24818'
versions = ['Python 3.9']

@roseman
Copy link
Mannequin Author

roseman mannequin commented Aug 7, 2015

If I have just an edit window open with my program, there's no way to run the program with the debugger visible. Should be a way to do so without going through the extra steps of opening up a shell window first

@roseman roseman mannequin added topic-IDLE type-feature A feature request or enhancement labels Aug 7, 2015
@terryjreedy
Copy link
Member

Agreed. I believe Al's menu revision suggested moving Debugger to Run. Debugger has to hook into Shell because it has to see packets moving between Shell and the execution process. Opening the debugger window currently requires that Shell already be open. Running a file opens Shell. So we need to rewrite Debugger to delay hooking into Shell unless Shell is present .. or until it is activated (by running a file). I believe this could be done by having a .connect_to_shell method that can be called either from .__init__ or the activate method.

There are several worse problems with Debugger. I think they need some consideration together, lest a patch for one issue interfere with a patch for another.

@terryjreedy terryjreedy added the 3.9 only security fixes label Jan 7, 2020
@terryjreedy terryjreedy changed the title no way to run program in debugger from edit window IDLE: run program in debugger from edit window Jan 7, 2020
@terryjreedy terryjreedy self-assigned this Jan 7, 2020
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes topic-IDLE type-feature A feature request or enhancement
Projects
Status: No status
Development

No branches or pull requests

1 participant