Add diagnostics gathering feature to debugger and UI#1297
Open
hxrshxz wants to merge 5 commits intoprocessing:mainfrom
Open
Add diagnostics gathering feature to debugger and UI#1297hxrshxz wants to merge 5 commits intoprocessing:mainfrom
hxrshxz wants to merge 5 commits intoprocessing:mainfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a diagnostics gathering feature to the debugger that allows developers to collect system information, memory statistics, and sketch runtime details from a running Processing sketch. The feature is accessible through a new menu item in the Debug menu and displays results in a formatted dialog with export capabilities.
Key Changes:
- New diagnostics collection system that gathers system properties, memory usage, sketch details, and display information
- Debug menu integration with "Gather Diagnostics" option that invokes the feature via JDWP
- Dialog interface for viewing, copying, and exporting diagnostic data
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| DiagnosticsDialog.java | New dialog UI for displaying formatted diagnostics with copy/export functionality |
| Debugger.java | Adds menu item and implements remote diagnostics gathering via debugger connection |
| PDiagnostics.java | Core diagnostics collection logic that gathers system, memory, and sketch information |
| PApplet.java | Adds getDiagnostics() public method to enable remote invocation from debugger |
| PDE.properties | Adds localization string for the new menu item |
Collaborator
|
Hi @hxrshxz Thank you so much for this work! A few things:
|
Author
|
Hi @benfry, thank you for the feedback. I've updated the PR to address your points:
really sorry for taking so lonng Screencast.from.2025-12-17.01-46-10.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1294
Description