Running into a 'called this line too many times' error

So I ran into a ‘called this line too many times’ error, but one, I spasifically changed the label and goto names so it would be different, and secondly, it seems to be the line in particular, so I have no idea on how to fix it.
Also, I have a variable, n_lap, and this only happens when it’s false, so I don’t know what’s going on here.
I can put the code that leades to this variable in if you think it will help.

From what you say, it seems your code is running in a loop. But without looking at it it is difficult to pinpoint where the problem is occurring.

You could try printing a variable and adding +1 each time it reaches that point you suspect, so maybe that way you can see what’s going on.

Otherwise, you can share the code so we can look at it.

1 Like

You have a loop with no stopping condition. Paste the code, if you will. We might be able to isolate where a stopping condition should be added.

After looking at the code in-order to coppy it into this, I think I found my mistake, as the else if N_lap is false did loop back into the original label, but it seems to be fixed now.
Amazing what small mistakes can turn into much larger issues, or that’s what I think, anyway.