Green highlighted instruction line


#1

Hello, we’re facing a problem in robotC which is getting a green highlighted instruction line with an arrow on this line when running the autonomous, it makes the code stuck on this instruction…
Did anyone face this problem before?


#2

Are you making any obvious logic errors such as dividing by 0?

If not, it’s just one of robotC’s lovely glitches, and your best bet is to create some new variables that have no effect (literally just type bool imcool = true; and do nothing with that variable) and make sure the firmware is up to date. Most of the time, that will solve the problem.

Good luck!


#3

I think you added an endpoint into your program. Try clicking resume in the debugger and seeing if it continues on.