Try
debug=: [: 13!:0 [: ". 'DEBUG=:-.DEBUG'"_
Henry Rich
On 12/26/2020 6:50 PM, David Lambert wrote:
JVERSION
Engine: j902/j64avx2/windows
Release-a: commercial/2020-12-05T13:36:01
Library: 9.02.08
Qt IDE: 1.9.1/5.12.10(5.12.10)
Platform: Win 64
Installer: J902 install
InstallPath: c:/program files/j902
Contact: www.jsoftware.com
Because debug'' rolls easily through my fingers, I assign
debug=: [: ([ 13!:0) [: ". 'DEBUG=:-.DEBUG'"_
DEBUG=:0
This turns debugging on but no longer drops the session back to prior
level, and I'm *certain* it, or a similar verb did so in early 9.01
releases. Here's an example continuing session, either my expectation or j
is incorrect here.
foops=: 3 :'~y'
debug''
1
foops'y here'
|syntax error: foops
| ~y
|foops[0]
DEBUG
1
y
y here
debug'' NB. expect 13!:0]0 effect
0
y NB. didn't get it.
y here
13!:0[0
y
|value error: y
DEBUG
0
Explanation appreciated, Dave
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm