Changes

Jump to: navigation, search

Dive into Mozilla Debugging Mozilla Lab

593 bytes added, 13:56, 19 March 2007
no edit summary
http://lxr.mozilla.org/seamonkey/source/calendar/providers/wcap/calWcapCalendar.js#128
 
=== Exercise: debugging FirstXpcom ===
 
Using the same techniques we've just learned, we can also debug [[Dive into Mozilla First XPCOM Component|FirstXpcom's]] C++ code (we'll write a XUL/JS extension in a later lab).
 
Try adding breakpoints to the methods in '''FirstXpcom.cpp''', for example in '''::Add'''.
 
Use the [[Dive_into_Mozilla_First_XPCOM_Component#Accessing_FirstXpcom_from_the_JavaScript_Shell|JavaScript Shell]] to write some code in order to create and call the methods of FirstXpcom. Make sure you can see your code being executed via the breakpoints you've set in VS.NET.
== Resources ==

Navigation menu