Logging in XUL
Regarding this post, I need to point out that logging in XUL-based applications is much simpler. Using Mozilla's console service, you can directly write to the Javascript console. We have made the function logMessage available through an interface which can also dump JS objects (=arbitrarily complex/nested arrays), so that printf-style debugging becomes extremely easy with Mozilla. On top of that you can also dump the JS callstack which helps tracing down issues. Hopefully the Ajax world will gain something equally useful at one point in time.
