NitobiBug: Cross browser debugging
Nitobi has released a cross browser debugging script, NitobiBug:
It’s a browser-based JavaScript object logger and inspection tool – similar to Firebug. NitobiBug runs across different browsers (IE6+, Safari, Opera, Firefox) to provide a consistent and powerful tool for developing rich Ajax applications.
With it you can:
JAVASCRIPT:
-
-
// inspect an object
-
var myObject = {a:234523, something:‘else’, mylist:[32423,4556,’sdfs’]}; nitobi.Debug.log(myObject);
-
-
// inspect a DOM element
-
var myDomObject = document.getElementById(’someID’); nitobi.Debug.log(myDomObject);
-
-
// output text
-
nitobi.Debug.log(“This is a test”);
-
The location of the window itself is remembered, and if you click on the “show me” link of a DOM debug window, you will see the element highlighted (if possible).
(Via Ajaxian.)

leave a comment