Debugging

Meeko Browser

In general you should use Meeko Browser. Meeko Browser is a browser-hosted browser. i.e. it is a web-page that provides basic features of a browser. You can load a page by entering it in the address bar or by selecting it from the bookmarks.

It also includes a cross-browser web-inspector which provides logging and page inspection features.

Logging

When you use XBLUI logging is available via the XPL system.

If you want to use logging in a XBL document, include the following at the top:

<script>

var xplSystem = Meeko.stuff.xplSystem;

var xplContext = xplSystem.createContext("MyRef");

var logger = context.logger;

</script>

You can then send messages to the logging system with logger.info(message). The logger supports several log-levels by calling different methods as follows: