Please add more information to array out of bounds error


#1

would it be possible to give some useful information,
e.g. which array, at which line or …,
when
this happens?
Peter


#2

Hmmm, good question. The downside of a compiler (yeah, I know we call it GP Script but we actually compile the those scripts, they’re not interpreted) is that no symbol table information is available unless one actually adds real debugging support. That’s on our list but it’s a non-trivial piece of work to implement, which would take time away from other higher priority stuff. For now, probably the only thing to do is put Print statements around the place to narrow things down.


#3

o.k. found the current problem,
but, sometimes driving me mad :wink: