Skip to content

Remove global error handler and fix underlying bugs in InForm.ui #7

Description

@a740g

Previously, InForm.ui contained a global "catch-all" error handler that simply executed RESUME NEXT. While this prevented abrupt message boxes and program termination, it also suppressed critical errors, making it difficult to debug InForm-PE-based projects effectively.

In a recent commit, the global error handler was removed and replaced with localized error handling inside UiEditor.bas and UiEditorPreview.bas, which would otherwise crash without it. However, the root issues still persist within InForm.ui, where the code occasionally attempts to:

  • Access images using invalid image handles
  • Access arrays with out-of-bound indices

These bugs need to be identified and fixed directly within InForm.ui. Once resolved, the remaining localized error handlers should be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions