Second Life Link Message Debugging

I find myself using a lot of link messages when scripting in Second Life lately. In order to keep track of what's going on, but without riddling the various scripts with debug output, I just add another "linkmessage debugger" script, with the following content:

default
{

    link_message(integer sender_num, integer num, string str, key id)
    {
        llOwnerSay("LM DEBUG: " + llList2CSV([sender_num, num, str, id]));
    }

}

It's also interesting to use it on modifiable objects from other people and see what messages they're spewing out.

This entry was posted in Second Life, Virtual Worlds. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>