Would it help to use try/catch in the paint handler? For example, in the
below, try resizing the window. Each time the paint handler is called the
error is written to the session and the image painted a new color:

wd 'reset'
wd 'pc win0 closeok; pn "debug me"'
wd 'cc img isigraph'
wd 'pshow'
win0_img_paint =: 3 : 0
try.
 2 *
catch.
 echo 13!:12''
 glfill_jgl2_ 255 ,~ ? 3#255
end.
)

On Sat, Dec 21, 2019 at 8:44 PM Raul Miller <rauldmil...@gmail.com> wrote:

> Ideally, the error "modal" should give some additional options:
>
> (2) stop painting (this needs a bit more thought)
>
> (3) cease popping up temporarily,
>
> (4) shut down J
>
> Thanks,
>
> --
> Raul
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to