Re: profiling startup TB w extension

Neil <[email protected]> Tue, 03 May 2011 09:10:06 +0100
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
neandr wrote:

> Is there a way to profile the startup process of Thunderbird with a 
> specific extension using Venkman?
> AFAIK there is a start parameter -- but am not able to find it in the 
> documentation.
> Beside that, how to "instruct" Venkman to directly profile with startup?

I'm not sure that it comes to the same thing but you could try opening 
Thunderbird with -venkman -jsconsole -silent and then once Venkman had 
opened you could start profiling and then use the Error Console to open 
the main Thunderbird window via openDialog('chrome://messenger/content', 
'', 'all,dialog=no');

-- 
Warning: May contain traces of nuts.