RFE: profiling startup TB w extension
neandr <neandrNo_@SPAM_gmx.de> Tue, 03 May 2011 13:39:04 +0200
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
On 03.05.2011 11:46, Philip Chee wrote:
> 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 startu=
p?
>>>
>>> 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=3Dno');
>>>
>> 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 -sil=
ent
>
> And both Venkman and Console2 are extensions. Thunderbird should work
> the same way as we both use the same Gecko/toolkit.
>
This works .. partially and not up to the point I need:
~$ /var/mozilla/thunderbirdEN/thunderbird -P 2011_april -no-remote =
-purgecaches -console2 -venkman -silent
Warning: unrecognized command line flag -purgecaches
using that command the console2 opens, but NOT Venkman. Both are =
installed to the named profile (parameter needs to be -P / uppercase).
With the command to the console
openDialog('chrome://messenger/content', '', 'all,dialog=3Dno');
TB opens.
My request to enable the Venkman Profiling at *startup* doesn't work =
with this approach.
Any other idea .. is there a startup parameter for Venkman profiling at =
all?
*RFE* Any idea how it's possible to modify it that way?
G=FCnter