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,

-- 
Raul

On Fri, Apr 14, 2023 at 9:37 PM Gilles Kirouac <[email protected]> wrote:
>
> Let's change the name if you prefer. Then:
>
> cocurrent 'abcd'
>
> myverb=: 3 : 0 "0
> 2
> 3
> )
>
> After loading the script, using the Stop Manager in the GUI interface in
> order to set stops, I see only one line instead of the three lines I
> expect. That single line includes the 2 and the 3 separated by a sort of
> dimmed quad.
>
>   32 91 48 93 32 51 32 58 32 48 34 48 1 50 1 51 1 41{a.
>      [  0  ]     3     :     0  "  0  ? 2  ? 3  ? )
>
> It looks like the LFs have become 1{a. .
>
> IOW, the lines are not separated as they should.
>
> [The problem is visible even using name "verb" after its transformation
> as you indicated.]
>
> ~ Gilles
>
> Le 2023-04-14 à 18:11, Henry Rich a écrit :
> > When you change the meaning of 'verb' all bets are off.  Retry with a
> > different name please.
> >
> > When you try to change a verb like
> >
> > myverb"0
> >
> > the debugger creates a new verb named
> >
> > myverbd4B7g0
> >
> > and changes myverb to
> >
> > myverbd4B7g0"0
> >
> > Then it lets you set stops in myverbd4B7g0.
> >
> > When I change the locale and look at the dropdown, I see options like
> >
> > myverb (header)
> > myverb
> > ...
> >
> > Don't edit the header.
> >
> > Henry Rich
> >
> >
> > On 4/14/2023 5:54 PM, Gilles Kirouac wrote:
> >> cocurrent 'abcd'
> >>
> >> verb=: 3 : 0 "0
> >> 2
> >> 3
> >> )
> >
> > ----------------------------------------------------------------------
> > 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

Reply via email to