rem: var data = (e.debug) ? e.debug : ""; 
add: var data = ("debug" in e) ? e.debug : ""; 
context: function event_tracer (e){    var name = "";    var data = (e.debug) ? e.debug : "";        switch (e.set)    {        case "server":            name = e.destObject.connection.host;            if (e.type == "rawdata")                data = "'" + e.data + "'";            if (e.type == "senddata")            {                var nextLine =                    e.destObject.sendQueue[e.destObject.sendQueue.length - 1];                if (nextLine)                    data = "'" + nextLine.replace ("\n", "\\n")                        + "' (may retry a few times)";                else                    data = "!!! Nothing to send !!!";                if (debugData.lastEventType == "senddata"  &&                    debugData.lastEventData == data)                {                    /* don't keep printing this event */                    return;                }                            }            break;        case "network":        case "channel":            name = e.destObject.name;            break;        case "user":            name = e.destObject.nick;            break;        case "httpdoc":            name = e.destObject.server + e.destObject.path;            if (e.destObject.state != "complete")                data = "state: '" + e.destObject.state + "', received " +                    e.destObject.data.length;            else                dd ("document done:\n" + dumpObjectTree (this));            break;        case "dcc-chat":            name = e.destObject.host + ":" + e.destObject.port;            if (e.type == "rawdata")                data = "'" + e.data + "'";            break;        case "client":            if (e.type == "do-connect")                data = "attempt: " + e.attempt + "/" +                    e.destObject.MAX_CONNECT_ATTEMPTS;            break;        default:            break;    }    if (name)        name = "[" + name + "]";    if (e.type == "info")        data = "'" + e.msg + "'";        str = "Level " + e.level + ": '" + e.type + "', " +        e.set + name + "." + e.destMethod;	if (data)	  str += "\ndata   : " + data;    dd (str);    debugData.lastEventType = e.type;    debugData.lastEventData = data;        return true;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/050cdabf1fdd264ec70170f737d010f1e60b30e3/irc-debug.js/clean/js/lib/irc-debug.js