rem: if (this.debug) FBTrace.sysout("TraceFirebug.panel getOptionsMenuItems for this.context="+this.context+"\n"); var items = []; var self = this; items.push({ label: "dump into fbug panel", nol10n: true, type: "checkbox", checked: FBTrace.dumpToPanel, command: function(event){ FBTrace.dumpToPanel = !FBTrace.dumpToPanel; FBTrace.initializeTrace(self.context); } }); for (p in Firebug.TraceModule) { var m = reDBG.exec(p); if (m) { var label = m[1]; items.push({ label: label, nol10n: true, type: "checkbox", checked: FBTrace[p], command: this.setOption }); } } return items; 
add: if (this.debug) FBTrace.sysout("TraceFirebug.panel getOptionsMenuItems for this.context="+this.context+"\n"); var items = []; var self = this; items.push({ label: "dump into fbug panel", nol10n: true, type: "checkbox", checked: FBTrace.dumpToPanel, command: function(event){ FBTrace.dumpToPanel = !FBTrace.dumpToPanel; FBTrace.initializeTrace(self.context); } }); for (p in Firebug.TraceModule) { var m = reDBG.exec(p); if (m) { var label = m[1]; items.push({ label: label, nol10n: true, type: "checkbox", checked: FBTrace[p], command: this.setOption }); } } return items; 
context:     getOptionsMenuItems: function()    {		if (this.debug) FBTrace.sysout("TraceFirebug.panel getOptionsMenuItems for this.context="+this.context+"\n");		var items = [];		var self = this;		items.push({			label: "dump into fbug panel", 			nol10n: true, 			type: "checkbox", 			checked: FBTrace.dumpToPanel, 			command: function(event){				FBTrace.dumpToPanel = !FBTrace.dumpToPanel;				FBTrace.initializeTrace(self.context);			}		});		for (p in Firebug.TraceModule) 		{			var m = reDBG.exec(p);			if (m) 			{				var label = m[1];				items.push({					label: label, 					nol10n: true, 					type: "checkbox", 					checked: FBTrace[p], 					command: this.setOption 				});				}		}		return items;    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/e1d42ad3fad63b72826a4e2ed0726866484c9ac3/tracePanel.js/buggy/extension/content/firebug/tracePanel.js