PackageDescription: X11ErrorHandler


X 1 1 Error Handler

Last published: September 7, 2017 by 'stevek'

Defines 2 Classes
Extends 2 Classes


An interface to the XSetErrorHandler function, allowing errors thrown by X to be handled in the image. Without this, X errors are handled by the VM by logging them to stdout over several lines. When loaded, this package silently handles X errors; when unloaded, it returns handling to the VM. If desired, Boolean shared vars in the class allow the X errors to be collected or to write a Smalltalk stack dump, which can help show what Smalltalk code caused the error.