context: dojo.debug = function(/*...*/){	// summary:	//		Produce a line of debug output. Does nothing unless	//		djConfig.isDebug is true. Accepts any nubmer of args, joined with	//		'' to produce a single line of debugging output.  Caller should not	//		supply a trailing "\n".	if (!djConfig.isDebug) { return; }	var args = arguments;	if(dj_undef("println", dojo.hostenv)){		dojo.raise("dojo.debug not available (yet?)");	}	var isJUM = dj_global["jum"] && !dj_global["jum"].isBrowser;	var s = [(isJUM ? "": "DEBUG: ")];	for(var i=0;i<args.length;++i){		if(!false && args[i] && args[i] instanceof Error){			var msg = "[" + args[i].name + ": " + dojo.errorToString(args[i]) +				(args[i].fileName ? ", file: " + args[i].fileName : "") +				(args[i].lineNumber ? ", line: " + args[i].lineNumber : "") + "]";		} else {			try {				var msg = String(args[i]);			} catch(e) {				if(dojo.render.html.ie) {					var msg = "[ActiveXObject]";				} else {					var msg = "[unknown]";				}			}		}		s.push(msg);	}		dojo.hostenv.println(s.join(" "));}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/debug.js/buggy/www/resources/dojo-ajax/src/debug.js