It surprises me that the results are unpredictable.  The code seems clear: debug suspension happens after an error or before a stop, but always between sentences (except for stops on tacit verbs).  If anyone finds anomalies let me know.

Henry Rich

On 4/6/2022 5:06 PM, Raul Miller wrote:
On Wed, Apr 6, 2022 at 5:01 PM Henry Rich <henryhr...@gmail.com> wrote:
I think the debugger is robust enough now that I could single-step
again.  Maybe I'll try.  I certainly wouldn't discourage a newcomer who
wanted to do that.
In my experience, single stepping is fairly robust, with one exception
(which might be fixed in the latest builds of the j engine --
returning from an explicit function into an "each" statement would
drop into the next item in that "each" sequence and back into the
start of the explicit function).

However, in some cases, catching errors when they happen has popped up
too far (into the load verb for the script when the error happened
inside some other explicit verb). These are difficult to isolate. (And
there may be other issues.)

FYI,



--
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

Reply via email to