You are running some code, and have triggered a breakpoint at stack depth 8, right?
Then the (13!:19'') is meant to meant to run until the verb at level 8 finishes, and pausing at the next instruction in level 7, right? And you're asking why you can walk up to levels 6, 5, and 4, but then suddenly find yourself back on level 8 instead of level 3...? So... I would guess that the original breakpoint at level 8 is in some explicit verb, which I'll pretend is called 'v'. It looks to me like the verb at level 4 is making two separate calls to 'v'. Perhaps it contains a loop? My hypothesis is that J is perfectly happy to pause at level 3 but doesn't because the breakpoint in 'v' is getting triggered a second time before the level 4 verb finishes. Of course this is all just a guess, since I can't actually see the code you're debugging. :) On Thu, Mar 13, 2014 at 8:49 AM, Raul Miller <[email protected]> wrote: > I think you are asking if the expression #13!:13''[(13!:19'') can somehow > add four levels of recursion onto the stack. > > And I think the answer is: that should not be possible. > > Thanks, > > -- > Raul > > > > On Thu, Mar 13, 2014 at 7:58 AM, Michal Wallace <[email protected] > >wrote: > > > Is it possible that a breakpoint or error is triggering a break at level > 8 > > before you reach level 4 again? > > > > On Mar 12, 2014 1:48 AM, "Raul Miller" <[email protected]> wrote: > > > > > #13!:13''[(13!:19'') > > > 4 > > > #13!:13''[(13!:19'') > > > 8 > > > > > > Something is wrong here. 13!:19 is supposed to cut back the stack. But > > > sometimes it fails and does something different. > > ---------------------------------------------------------------------- > > 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
