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.

Trackbacks

    No Trackbacks

Comments

Display comments as (Linear | Threaded)

    No comments


Add Comment


Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5