outaTiME

NitobiBug: Cross browser debugging

Posted in development, javascript by outaTiME on June 6, 2008

Nitobi Bug

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:

  1.  
  2. // inspect an object
  3. var myObject = {a:234523, something:‘else’, mylist:[32423,4556,’sdfs’]}; nitobi.Debug.log(myObject);
  4.  
  5. // inspect a DOM element
  6. var myDomObject = document.getElementById(’someID’); nitobi.Debug.log(myDomObject);
  7.  
  8. // output text
  9. nitobi.Debug.log(“This is a test”);
  10.  

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 Reply