VEX IQ Code

Got an error
“RangeError: Maximum call stack size exceeded.”

Possible causes?
Thanks!

Maybe the value you entered for a parameter was too high.

Please post your code (screenshot is OK if you’re writing blocks code) - otherwise it’s very difficult to debug code we can’t see.

2 Likes

I can post the code if needed later, but if I could just get an explanation of what it actually means I might be able to debug it myself.

This generally means the code is exceeding the memory limitations of the IQ. Likely simultaneous tasks running (use my blocks instead unless you really need concurrency) or excessively long code.

We’re working to improve the error handling with this situation, but using the feedback button in VEXcode and noting the code that generates this issue will help us better identify the causes.

2 Likes