Have you ever worked with the ForEach Sop in Houdini? 
Have you ever nested them many layers deep? 
This past weekend I rewrote and documented a Sop I developed a year or so ago – the trace_foreach Sop. 
It will allow you to walk through any complex hierarchy of nested ForEach Sops and see the state of the loops at any point.  It’s a trace for the ForEach Sop. 
It is here.  Limited in its testing.  Please let me know of any failures. 
https://www.orbolt.com/asset/CalebHoward::trace_foreach