Subj : Re: dump jsconsole To : netscape.public.mozilla.jseng,netscape.public.mozilla.xpfe From : Brendan Eich Date : Mon Dec 15 2003 11:18 pm John wrote: > I'm sorry if this is the wrong ng, please inform if so. > I am not seeing any dump statements in my jsconsole window, how do I > configure it so I see dump statements: > > app load: > "mozilla.exe" -jsconsole -chrome chrome://test/content/test.xul > > example javascript: > function onFileSave() > { > alert("In onFileSave."); > dump("In onFileSave."); > } > > I see the alert message box but not the dump in the jsconsole window. > A quick search for messages with "dump" in their subject lines in m.xpfe finds the answer: news://news.mozilla.org:119/beuain$hh1@ripley.netscape.com has it, so does news://news.mozilla.org:119/3E00BA5E.1070501@ultrid.com (using UI rather than naming the pref) and news://news.mozilla.org:119/3B5B5271.9CA737D2@netscape.com: From the UI: Edit -> Preferences -> Debug -> Enable JavaScript dump() output Before starting, add this pref: user_pref("browser.dom.window.dump.enabled", true); Note cross-posting with followup-to: m.xpfe set. /be .