How could I find the error line?
#3

Quote:
Originally Posted by Calisthenics
View Post
https://github.com/Zeex/samp-plugin-...ith-debug-info

After compiling the script with -d3 flag, wait for it to happen again. It will log the function name and line.

The error means that there is an array with size 11 and valid bounds are 0 to 10. But script tried to access element with index 11.
It throws me the same as before


Quote:
Originally Posted by Calisthenics
View Post
Using <= MAX_SOMETHING in loops can also cause this (the correct would be < MAX_SOMETHING).
I checked everything, and they're fine.


another way to find it?
Reply


Messages In This Thread
How could I find the error line? - by KaliDobrev - 21.02.2019, 04:44
Re: How could I find the error line? - by Calisthenics - 21.02.2019, 08:10
Re: How could I find the error line? - by KaliDobrev - 21.02.2019, 16:09
Re: How could I find the error line? - by Calisthenics - 21.02.2019, 20:00
Re: How could I find the error line? - by KaliDobrev - 21.02.2019, 22:10

Forum Jump:


Users browsing this thread: 2 Guest(s)