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 Debugger: Improve GUI #62142
Comments
The IDLE debugger has subwindows to display name-object bindings for locals and (optionally) globals. They have a gray background. Text is black, object strings get a white background box. The issue is that the white box and text for each name is slightly raised relative to the name. This is somehow especially noticeable to me for something like 'd = 3', resulting in This is a fairly minor issue, so low priority now unless trivially fixed. But it should be part of polishing IDLE. I am hoping that this is not a tk bug that is terrible to work around. |
With more debugger use experience, I decided that there are many possible small improvements that would make it easier to use for beginners.
|
|
Have attached debugpanel.py, implementing a ttk-based mockup of one possible redesign of the debugger UI, as seen in http://bugs.python.org/file40234/newtabs.png |
Have attached debugger-ui.patch, which greatly updates the user interface for the existing debugger. This also relies on some images that should be downloaded and unpacked into the 'Icons' directory: http://www.tkdocs.com/images/debugicons.zip Summary of changes:
In future, this will also replace the 'stack viewer' feature for displaying |
Mark, do you mind to rebase your patch to the latest version? |
Rebase markroseman patch to latest version, I own no credit on this patch. Just want to check the effect about the patch. |
Mark, Python now uses git and pull requests. Can you, and do you wish to, rebase and convert to a pull request, any of your patches we wish to investigate further, yourself, or should we go ahead and do so? Silence for a week will be taken as the latter. The main difference is being the author of the pull request, versus 'merely' being credited in the commit message, as before. |
Please go ahead with any of the patches I submitted earlier, credit is absolutely not an issue. |
IDLE now uses ttk unconditionally by requiring tk 8.5. The patch can therefore be simplified accordingly. |
have updated/cleaned up the previous patch, and there's a new PR. i realize this is unfortunately a somewhat monolithic change which might make reviewing it a bit tough... |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: