How can I dump log messages from Java code in Firefox extension?
Sachiko Yoshihama <[email protected]> Sat, 9 Jan 2010 17:29:56 +0900
| Newsgroups | gmane.comp.mozilla.devel.oji |
|---|---|
| Message-ID | <67508ee81001090029h79619b84t722f5810763f0ca9__14988.4235267111$1263025819$gmane$org@mail.gmail.com> |
Hi, I can call a Java code I wrote from a Firefox extension written in JavaScrpit, using the workaround described at: https://developer.mozilla.org/en/Java_in_Firefox_Extensions But when I try to dump some debug messages by using Logger or System.out, nothing appears in the console of Firefox. What is a good way of recording log messages in JavaCode that is called from a Firefox extension? Just to be clear, what I mean by the console is the command-line window that shows up when you invoke firefox.exe with the "-console" option. I changed the value of "browser.dom.window.dump.enabled" to true, and I can successfully log messages by dump() in JavaScript code. Sachiko