I don't know how implement gui event handler that works with debug
suspension. Perhaps you should not perform any new gui stuff or generate
new gui events. After examining variables, resume the suspended task.

On Thu, May 9, 2019, 10:19 PM 'Mike Day' via Programming <
[email protected]> wrote:

> Sorry, I've only just spotted that the J session may be closed by
> clicking on the X close button
>
> at the top right, even though the body of the session and the debug
> window are both essentially
>
> frozen.
>
> More elegant than killing the session from Windows' Task Manager,  but
> it's still awkward to have to
>
> stop and start afresh,
>
> Cheers,
>
> Mike
>
>
> On 09/05/2019 15:09, 'Mike Day' via Programming wrote:
> > ... and I've just tried the same script in JQt 901 f-beta with the
> > same results as just
> > reported (copied below) for JQt 807.
> >
> > The plot window _did_ close on this occasion.  I might have been wrong
> > about the
> > plot not closing earlier, only in JQt 901 f-beta,  but that was when
> > I'd encountered the problem using
> > a working script, with more session history, so can't be sure.
> >
> > Anyway,  for this minimal testbed,  the same results arise in JQt 807
> > and JQt 901 f-beta.
> > I haven't checked in JHS or Jconsole,  if even appropriate!
> > Thanks again,
> > Mike
> >
> >
> > On 09/05/2019 14:55, 'Mike Day' via Programming wrote:
> >> OK - here's trying with a noddy script, in JQt 807.  (I'll try it
> >> next in JQt 901 f-beta)
> >>
> >> NB. whole script.....
> >>
> >> load'plot'
> >>
> >> dummy =: 3 : 0
> >> bool  =. 40 20 40 #0 1 0
> >> #bool
> >> )
> >>
> >> NB. end script
> >>
> >> NB. session snippet, with debug on via ctrl-C, stop-line at #bool:
> >>
> >>       JVERSION
> >> Engine: j807/j64/windows
> >> Release-d: commercial/2019-03-18T13:21:35
> >> Library: 8.07.25
> >> Qt IDE: 1.7.9/5.9.6
> >> Platform: Win 64
> >> Installer: J807 install
> >> InstallPath: c:/d/j807
> >> Contact: www.jsoftware.com
> >>
> >>    load 'c:/d/j807/user/temp/213.ijs'   NB. home of noddy script
> >>
> >>    dummy 1    NB. run function with debug stop-line enabled
> >>
> >>    plot bool     NB. shows what you'd expect
> >>
> >> NB. ===================================== end of session copy
> >>
> >> I can close the plot,  by clicking on X at top right, as usual
> >>
> >> I can't close the open debug window
> >>
> >> The cursor can move up and down the session, it can select previous
> >> lines,
> >>
> >> and reprint them at the bottom of the session, eg, I can get the last
> >> two
> >>
> >> lines to be
> >>
> >>    plot bool     NB. shows what you'd expect
> >>    load 'c:/d/j807/user/temp/213.ijs'   NB. home of noddy script
> >>
> >> but the load doesn't work, the cursor stays at the end-of-line.
> >>
> >> I can then move it up to,  say,  dummy 1.  Selecting that line
> >> overwrites
> >>
> >> the "new" load... line,  but again executing it doesn't work.
> >>
> >> FWIW, jbreak.bat is ineffective in this case, not that I'd expect it
> >> to work here.
> >>
> >> Thanks,
> >>
> >> Mike
> >>
> >> On 09/05/2019 11:29, bill lam wrote:
> >>> Did you mean j807 can close plot window but still hang?
> >>>
> >>> Thu, 09 May 2019, jprogramming написал(а):
> >>>> I first thought this was a new bug in J901 beta,  but it also
> >>>> happens in
> >>>> J807.
> >>>>
> >>>> Scenario - JQt under Windows 10 -
> >>>>
> >>>> examining a function using debug (via ctrl-C) with a stop line enabled
> >>>>
> >>>> at the stop line, run it to evaluate a function variable, call it
> >>>> boolean b,
> >>>>
> >>>> plot b to see what changes where...
> >>>>
> >>>> So, now the session is stuck -
> >>>>
> >>>> -   I can close the plot window in J807, apparently not in J901 beta
> >>>>
> >>>> -  I can't run the next line in debug
> >>>>
> >>>> -  I can't close debug
> >>>>
> >>>> - I can't type or execute a line in the session
> >>>>
> >>>> -  I can't break it (using Jbreak.bat, which has otherwise been ok
> >>>> in J901
> >>>> beta, thanks!)
> >>>>
> >>>> SESSION
> >>>>
> >>>>     load'plot'
> >>>>
> >>>>     ql flph 10000
> >>>>
> >>>> RUN DEBUG STOP LINE
> >>>>
> >>>> *>[101]         maxdiag   =. <: i.&1 bexcd
> >>>>
> >>>> plot bexcd
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Mike
> >>>>
> >>>>
> >>>> ---
> >>>> This email has been checked for viruses by Avast antivirus software.
> >>>> https://www.avast.com/antivirus
> >>>>
> >>>> ----------------------------------------------------------------------
> >>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to