I'll work on this. Part of the development for 9.01 was the
disentangling of debug from names and explicit definitions. I never
really knew what the messages were supposed to be, and thus it didn't
jump out at me that they were wrong. You are saying that they are off
by one stack frame when debug is on, which is plausible given the kind
of changes I made.
Henry Rich
On 11/19/2019 7:27 PM, Kirk Iverson wrote:
Hi Bill,
I'm afraid I don't think we're on the same page. Let me be more clear about
what I think is going wrong in my example:
1/ The actual error message in 901 is:
|value error: foo
In 807, the error message is:
|value error: nodef
I.e. the 807 report indicates the name which is actually undefined; in 901
the
name of the verb getting the error is reported.
2/ In 901 the suspended line (*) being reported is:
* foo ''
In 807 the suspended line is:
* nodef+1
I.e. 901 is reporting that the line foo[0] is: foo '' ,but it's really
not.
/K
On Nov 19, 2019, at 4:52 PM, bill lam <[email protected]> wrote:
I can duplicate the bug
1/ I think it is ok because there should already be extra space before nodef
2/ it seems debug had trouble with single line explicit definition . If the
foo had 2 lines, it can show stopped at [0]
On Wed, Nov 20, 2019, 3:48 AM Kirk Iverson <[email protected]> wrote:
Just to make sure the following doesn't fall through the cracks:
dbr 1
foo=: 3 : 'nodef+1'
foo ''
|value error: foo
| nodef+1
|foo[0]
dbs ''
|dbs[0]
| dbs''
* foo''
|foo[0]
| foo''
JVERSION
Engine: j901/j64avx2/windows
Beta-q: commercial/2019-11-17T14:09:02
Library: 9.01.11
Platform: Win 64
Installer: J901 install
InstallPath: c:/users/kbi/j901
Contact: www.jsoftware.com
There are two problems in the above:
1/ The initial error report should read:
value error: nodef
2/ In the dbs report, the suspension line (*) should read:
* nodef+1
/K
----------------------------------------------------------------------
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