Skip to content

Errors don't stop the drawing loop #175

@Kevinpgalligan

Description

@Kevinpgalligan

If an error is raised, it should halt the drawing loop. This is not currently the case. If an error occurs in only a single iteration of the drawing loop, the effect is a single flash of the red error screen, and there's no chance to see what the error was or to click for restarts.

To reproduce the bug:

(defsketch diserr ((i 0))
  (let ((err-or-no (= i 0)))
    (incf i)
    (if err-or-no
        (error "howdy")
        (rect 0 0 50 50))))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions