My experience is that it always stop at the first line, eg running this
script
dbr 1
foo=: 3 : 0"0
10
[:0
11
)
foo 1 2 3

% jc ~/a1.ijs
|valence error: foo
|       [:0
      dbctx''
@@ foo[:0] *v @@ /Users/bill/a1.ijs
3 : 0"0
>[0] 10
 [1] [:0
 [2] 11



On Sat, Apr 15, 2023 at 11:34 AM Henry Rich <[email protected]> wrote:

> The debugger is supposed to do automatically what you suggest, i. e.
> rewrite the verb with a name.
>
> When I bring up the debugger and change the locale a couple of times, I
> get the options I expect, viz myverb (header) and myverb.  For some
> reason it doesn't show that way the first time.
>
> Henry Rich
>
> On 4/14/2023 9:43 PM, Raul Miller wrote:
> > My experience here is that explicit verbs need to be named for the
> > debugger to work with them.
> >
> >
> > Instead, for this kind of problem I'd do
> >
> > myverb=: (myverbbase=: 3 :0)"0
> > 2
> > 3
> > )
> >
> > And then put a stop in the lines for myverbbase.
> >
> > Henry's message hints at another approach, where "myverbbase" would
> > have been generated automatically (though with a different name), but
> > I don't know how to take advantage of that.
> >
> > FYI,
> >
>
> ----------------------------------------------------------------------
> 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