http://cs.senecac.on.ca/~david.humphrey/writing/debugging-firefox.html