Changes between Version 3 and Version 4 of DeveloperDocumentation
- Timestamp:
- 08/29/08 17:59:48 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperDocumentation
v3 v4 15 15 If you want to add new functionality, have a look at the numerous existing Firefox/Thunderbird plugins to get an idea how things are done. 16 16 17 For enabling the console (the place '''dump''' messages go to) see http://gnowsis.opendfki.de/wiki/MozillaDeveloping . 17 For enabling the console (the place '''dump''' messages go to) see http://gnowsis.opendfki.de/wiki/MozillaDeveloping . You may have to enable dump in '''gnowsis_dump()'''. 18 19 == General Hints == 20 * Use '''try {...} catch(e) { dump(e); alert(e); }''' in abundance. Uncaught exceptions typically vanish in the depths of Mozilla and are hard to find without lots of debugging. 21 * '''Never''' swallow exceptions, always at least dump() them unless you really know what you are doing.