I have observed a change in the behavior of debugging in j 9.01 The following trace shows issue
debugtest=: 3 : 0 NB.*debugtest v-- show skip last line while debugging NB. NB. monad: debugtest uuIgnore a=. 2 [ b=. 3 c=. a + b 12 * c ) NB. define this verb in the base locale and do dbss'' NB. clear any debugging lines NB. set stops on debugtest dbstop 'debugtest' dbsq'' debugtest *:*; NB. step through dbr 1 NB. turn on debugging debugtest 0 |stop: debugtest | debugtest 0 |debugtest[5] dbrun '' NB. step |stop * a =.2[b=.3 |debugtest[6] a 2 b 3 NB. line has been executed dbrun '' NB. step |stop * c =.a+b |debugtest[7] c 5 NB. line has been executed dbrun '' NB. step NB. does not stop on last line or show result The final line in the explicit definition does not stop and the final verb result is not shown It also looks like the displayed stopped lines have already been executed. In prior versions of J the stop line had not been executed. The version of J showing this is: JVERSION Engine: j901/j64/windows Beta-c: commercial/2019-04-03T11:03:34 Library: 9.01.03 Qt IDE: 1.8.1/5.12.2 Platform: Win 64 Installer: J901 install InstallPath: c:/j64/j64-901beta Contact: www.jsoftware.com -- John D. Baker [email protected] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
