> Le 6 oct. 2021 à 22:43, Keith Goebel via 4D_Tech <[email protected]> a 
> écrit :
> 
> Randy, hi there.
> [...] But that is a problem when you only want to stop and trace the first 
> iteration of a loop. Then you have to restart 4D.

Hi Keith, 
you may use assert:
  for ($i;1;...)
    assert($i#1;"stop on first iteration only")
  end for

Another cool thing with assert is you can alt+clic on the "Continue" button in 
the dialog; it means "ignore all comming false asserts for this process". I 
tend to use ASSERT much more than TRACE or breakpoints, since a while. 

-- 
Arnaud de Montard 


**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to