Re: RFE: profiling startup TB w extension

"alta88[nntp]" <[email protected]> Wed, 04 May 2011 11:11:08 -0600
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>


---On 2011.May.03 11:07 PM, Philip Chee wrote:
> On Tue, 03 May 2011 13:39:04 +0200, neandr wrote:
>> 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 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.
>>>
>>
>> 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=no');
>> 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?
>
> In SeaMonkey 2.1pre I get both Console2 and Venkman windows. Which
> version of Thunderbird are you using? -purgecaches should work with
> Thunderbird 3.3x or anything based on Gecko 2.0 and above.
>
> You also probably need a trunk/nightly build of Venkman.
>
> Phil
>


the venkman 0.9.88.1 on AMO doesn't work with Tb3.3+ at all (not 
implemented dialog).  for some reason the owners are no longer updating 
the extension on AMO even though this particular bug has been fixed.  so 
where are these magic venkman builds - only in sm?