2.9. Debug Corner: Detecting Bad XUL

The Mozilla Platform provides some simple analysis tools for diagnosing your XUL. They are your friends, and engaging them in a little idle experimentation can expand your understanding of the technology enormously. This “Debug Corner” covers basic syntax errors and the debug attribute.

Most programmer support tools are located under Tools | Web Development.

The command line is a good place to start Mozilla under both Windows and UNIX. It is particularly handy for loading documents into undecorated -chrome windows because command line history allows you to reload a document into a new window with just two keystrokes. The test-debug-fix loop is particularly quick for XUL since everything is interpreted, and ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.