I changed my copy of jbrk.command to read: #!/bin/sh "`dirname "$0"`/jconsole" -js "break''" exit[0
And, testing, it works now: %.^:1000?1000 1000$0 |break Thanks, -- Raul On Tue, Nov 5, 2019 at 3:59 PM Eric Iverson <[email protected]> wrote: > > Break works as expected in 901. > > Jconsole - use ctrl+c > > JHS - use ctrl+c in the jconsole server window. > > Jqt - break is signalled from another J task - start Jconsole and enter > break'' > > There is a bug in the 901 bin/jbrk shell script so that it reports 'bad > pid: assert. The script does jbreakt[i.0 instead of jbreak''. After that > you can do break'' or just avoid it and start a Jconsole task directly. > > > A break will stop execution and the next line. A second break will > interrupt inside of some (but not all) long running loops in a line. > > Experiment with break on a simple while loop to be sure it works as > expected. > > On Tue, Nov 5, 2019 at 2:29 PM Raul Miller <[email protected]> wrote: > > > Is jbrk still expected to work on j901 (it's not working for me, and I > > don't know if that's because I messed something up). > > > > Thanks, > > > > -- > > Raul > > ---------------------------------------------------------------------- > > 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
