the behavior is reasonable in that when modal dialog is closed the form beneath got repainting and this raised another paint event and the same bug brought up modal dialog again.
Will running with gui debug be fine? IIRC gui debugger saved events somewhere during suspension. however j602 seemed worked differently and didn't fall into infinite loop, not sure how it was done. On Sun, Dec 22, 2019, 2:11 AM Michal Wallace <michal.wall...@gmail.com> wrote: > Here's a little jqt program with a bug in it. > > When I accidentally run something like this, I get a modal dialog with an > error message. > > Closing the message box triggers the error again. > > Once that happens, the only way I know to recover is kill my whole J > session. > > Is there a better way? If not, could we maybe add a button to these > messages that would destroy the offending window? > > wd 'pc win0 closeok; pn "debug me"' > wd 'cc img isigraph' > wd 'pshow' > win0_img_paint =: verb define > this is a bug > ) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm