Re: profiling startup TB w extension
Philip Chee <[email protected]> Tue, 03 May 2011 17:47:48 +0800
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Organization | http://flashblock.mozdev.org/ |
| Message-ID | <[email protected]> |
On Tue, 03 May 2011 11:22:52 +0200, neandr wrote:
> 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
That probably means you forgot to install Venkman.
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.