The Enable Loop-Only Console Logging setting enables selective output in the browser console, showing
information only about the execution of loop constructs in G-code, such as
WHILE / END and FOR, as well as variable counters inside the loop body.
What this setting does
Displays only those lines that:
are part of the active loop body;
contain calculations for loop control variables;
affect the number of repetitions (conditions like IF, GOTO inside the loop).
Highlights in the table:
line number and program index;
variable name/number;
previous and new value;
current counter value;
loop iteration.
Ignores all other code so the log stays compact and focused on analyzing repeated blocks.
When to use
For analyzing the behavior of WHILE and FOR loops in macro programs.
When optimizing the number of repetitions in subprograms.
Tip: When loop logging is enabled, it is convenient to use the
Group similar messages in console option in the browser's developer tools — this makes it easier to review repeated iterations.