Skip to content

Fix sketch exception getting hidden by warning#5486

Merged
benfry merged 2 commits into
processing:masterfrom
JakubValtar:fix-status-exception
Jan 18, 2019
Merged

Fix sketch exception getting hidden by warning#5486
benfry merged 2 commits into
processing:masterfrom
JakubValtar:fix-status-exception

Conversation

@JakubValtar

Copy link
Copy Markdown
Contributor

Fixes #5412

  • Makes sure something is always printed to the console when sketch crashes with exception. Message in the status bar might disappear after moving the cursor.
  • The adapter invokes all status changes on the EDT instead of worker thread of the Runner. Modifying AWT components from the worker threads may introduce strange bugs and in this case caused UI changes to run out of order, hiding runtime exceptions under messages triggered by moving the cursor.

This adapter invokes all status changes on the EDT instead of worker thread of the Runner. Modifying AWT components from the worker threads may introduce strange bugs and in this case caused UI changes to run out of order, hiding runtime exceptions under problems displayed when cursor moves to the offending line.
Make sure something is always printed to the console when sketch crashes with exception. Message in the status bar might disappear after moving the cursor.
@benfry benfry merged commit 108f5cc into processing:master Jan 18, 2019
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run-time error message can be hidden by edit-time warning

2 participants