rem: var tokens = args[0].match(/(%[.\w\d]+)/g); var logCollection = []; if (!tokens) return debug.result(args); tokens.each(function(token, i){ logCollection.push(args[0].substring(0, args[0].indexOf(token))); logCollection.push(args[i+1]); args[0] = args[0].substring(args[0].indexOf(token)+token.length,args[0].length); }); args = logCollection 
add: var logCollection = [], lastIndex = 0; var regexp = /%[sdifo]/gi; for (var i = 1; (i < args.length) && (token = regexp.exec(args[0])); i++){ logCollection.push(args[0].substring(lastIndex, token.index), args[i]); lastIndex = regexp.lastIndex; } regexp.lastIndex = 0; if (!lastIndex) return debug.result(args); logCollection.push(args[0].substring(lastIndex)); args = logCollection; 
context: 	log: function(){		var args = $A(arguments);		var spacer = ' ';		if ($type(args[0]) == 'string'){			spacer = '';			var tokens = args[0].match(/(%[.\w\d]+)/g);			var logCollection = [];			if (!tokens) return debug.result(args);			tokens.each(function(token, i){				logCollection.push(args[0].substring(0, args[0].indexOf(token)));				logCollection.push(args[i+1]);				args[0] = args[0].substring(args[0].indexOf(token)+token.length,args[0].length);			});			args = logCollection		}		return debug.result(args, spacer);	},
meta: 8516	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8516/2d22591aa759eb3d263726cda7060e1ac3325865/Debugger.js/buggy/Plugins/Debugger.js