rem: if (type == 'string') chunks.push({'type': 'string', 'message': argument}); else if(type == "element") chunks.push({'type':'element','message':argument}); else { try { var jsonString = Json.toString(argument); chunks.push({'type': type, 'message': Json.toString(argument)}); } catch(e) { chunks.push({'type': type, 'message': 'object not compatable with Json parser'}); } 
add: if ((type != 'string') && (type != 'element')){ try { argument = Json.toString(argument); } catch(e) { argument = 'object not compatible with Json parser'; 
context: 		$A(args).each(function(argument){				var type = $type(argument);			if (type){					if (type == 'string') chunks.push({'type': 'string', 'message': argument});					else if(type == "element") chunks.push({'type':'element','message':argument});					else {						try {							var jsonString = Json.toString(argument);							chunks.push({'type': type, 'message': Json.toString(argument)});						} catch(e) {							chunks.push({'type': type, 'message': 'object not compatable with Json parser'});						}					}			}		});
meta: 5409	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5409/2d22591aa759eb3d263726cda7060e1ac3325865/Debugger.js/buggy/Plugins/Debugger.js