Jump to content
  • 0

Numbers in Tabs of Script Warning box


Shanbo Baddingham
 Share

You are about to reply to a thread that has been inactive for 3370 days.

Please take a moment to consider if this thread is worth bumping.

Question

2 answers to this question

Recommended Posts

  • 0

They indicate the sim coordinates of the object containing the script that's throwing the error.

They're no use in tracking down the part of the script that's causing the error, unfortunately.    If you post details of the error message over in the Scripting Forum, someone over there will probably be able to help.

Link to comment
Share on other sites

  • 0

They aren't particularly helpful, simply noting the location of the script.  If you want to find out what's causing the error, you'll have to do all the sleuthing by trial and error, as usual.  If you are getting a run time error, the usual reason is that you have a stack/heap collision, which essentially means that you have run out of memory.  Unless your code itself is gigantic (that happens to me occasionally), a typical suspect is a recursive routine that has no exit.  A loop that creates a new list element each time it executes will eat up memory quickly unless you stop it properly, for example.  It's easy to forget to put a limit on a loop.

That's not the only possibility, of course. See http://wiki.secondlife.com/wiki/Category:LSL_Error  .  If you want to track memory use, you can use the LSL functions designed for that purpose

•  llScriptProfiler      
•  llGetSPMaxMemory      
•  llGetMemoryLimit      
•  llGetFreeMemory      
•  llGetUsedMemory      
•  llGetObjectDetails      
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3370 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...