Re: Starting firefox -venkman
"John J. Barton" <[email protected]> Mon, 19 Nov 2007 18:07:20 -0800
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
Gijs Kruitbosch wrote: > Venkman starts up first. Hi Gijs, do you know how Venkman gets in first? > - You can add debugger; statements to your extension's code to have it > stop there. You might have to run Venkman once and exit before this will work. Venkman has to set some bit to start JSD on startup and it can't do that until its had control once. Or so I guess from the name of the method, jsd.initAtStartup. > - You could be really fast in setting up breakpoints. > - You could create breakpoints when you feel like it while Firefox is up > normally, and tell Venkman to load them automatically (check "Save > Break/Watch settings" in the File menu). ...and then exit and restart (in case that wasn't clear). > > ~ Gijs