Skip to content
lsl.devlsl.devLSL Dev

DEBUG_CHANNEL

constant
Constant
integer DEBUG_CHANNEL = 2147483647;

Constant groups

Channel · ChannelNonPublic

Other Channel values (2)
Other ChannelNonPublic values (1)

Chat channel reserved for script debugging and error messages. The client will display chat on this channel in the script console if the avatar is within the appropriate distance for the communication type (see Chat for details).

Server-generated errors are broadcast the same distance as llSay.

Regardless of the source, most viewers filter out messages received on DEBUG_CHANNEL from objects owned by others.

key owner;
default{//little link_message debugging script
link_message(integer a, integer b, string c, key d){
llSay(DEBUG_CHANNEL, llList2CSV([a,b,c,d]));
if(llGetOwner() != owner)
llSetScriptState(llGetScriptName(), FALSE);
}
state_entry(){
owner = llGetOwner();
}
}
ConstantTypeValueDescription
PUBLIC_CHANNEL
COMBAT_CHANNEL
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from DEBUG CHANNEL, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.