Oops Null Pointer

Java programming related

Monthly Archives: September 2011

Debugging Javascript in IE6

Quick note here on debugging Javascript in IE6 as I found a few handy tips

  • Use firebug lite – my IE fails if you call firebug twice, so load up you page and then click the bookmarklet
    • My IE6 crashes on the firebug lite page so I use another browser to get the bookmarklet code
  • Using firebug lite you can use console.log(‘a msg’) to log to the console
  • Use .toString() on a function when you want to see the function’s code
  • If you can, get the pretty / uncompressed version of the js lib you are debugging (for me it was Highcharts)