Jump to content
  • 0
Sign in to follow this  
Shanbo Baddingham

Numbers in Tabs of Script Warning box

Question

  • 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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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      

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...