-
-
Notifications
You must be signed in to change notification settings - Fork 108
Add diagnostics gathering feature to debugger and UI #1297
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
|
Hi @hxrshxz Thank you so much for this work! A few things:
|
|
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 |
Fixes #1294
Description