Re: profiling startup TB w extension

neandr <neandrNo_@SPAM_gmx.de> Tue, 03 May 2011 11:22:52 +0200
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
On 03.05.2011 11:19, 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?
>
.. and new Venkman can't be started that way:
:~$ /var/mozilla/thunderbirdEN/thunderbird -venkman
Warning: unrecognized command line flag -venkman