Re: profiling startup TB w extension
Philip Chee <[email protected]> Tue, 03 May 2011 17:46:41 +0800
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Organization | http://flashblock.mozdev.org/ |
| Message-ID | <[email protected]> |
On Tue, 03 May 2011 11:19:28 +0200, neandr wrote:
> On 03.05.2011 10:10, Neil wrote:
>> 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');
>>
> Great idea .. unfortunately with starting TB that way only the console
> comes up. No Venkman -- because as a extension it needs it's host (which
> isn't started). So no possibility to enable the VKM profiling.
>
> Any further idea?
Strange. The following works for SeaMonkey 2.1pre
seamonkey.exe -p TestSR21 -no-remote -purgecaches -console2 -venkman -silent
And both Venkman and Console2 are extensions. Thunderbird should work
the same way as we both use the same Gecko/toolkit.
Phil
--
Philip Chee <[email protected]>, <[email protected]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.