[Opera-Linux] gdb plugin debugging
Patricia Aas
psmaas at opera.com
Tue Nov 13 10:37:16 UTC 2007
Note that when I say instance I mean instance of the same plugin:
all flash apps run in the same pluginwrapper and so on.
Patricia
On Tue, 13 Nov 2007 11:26:47 +0100, Patricia Aas <psmaas at opera.com> wrote:
> Hi Kai,
>
> Does it crash every time - everywhere?
>
> If it is only a specific instance that crashes you could take advantage
> of
> the fact that all instances share the same wrapper:
>
> 1. start gdb with the wrapper
> 2. Load a page with a non-crashing plugin instance
> 3. attach the wrapper
> 4. load page with crashing instance
> 5. get your backtrace :)
>
> Patricia
>
> On Mon, 12 Nov 2007 17:34:51 +0100, Kai Hendry <hendry at aplixcorp.com>
> wrote:
>
>> Hi Guys,
>>
>> Sidenote: http://natalian.org/archives/2007/11/12/google-mailman/
>>
>> I am looking for a tip to debug plugins within GDB and Opera.
>>
>> Since Opera uses /usr/lib/opera/plugins/operapluginwrapper I am not
>> sure how to attach gdb to the beginning of the process. I can attach
>> gdb once the plugin is invoked, though by this time, the plugin has
>> crashed. :( Studying it with OPERA_KEEP_BLOCKED_PLUGIN enabled isn't
>> good enough.
>>
>> I did try unsuccessfully wrapping (with a gdb invocation) the wrapper.
>> ;)
>>
>> Any suggestions? Btw I am using Opera 9.24, build 671 on Debian.
>>
>> Kind regards,
>> --
>> Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
>> More lists: https://list.opera.com/mailman/listinfo/
>> Unsubscribe: mailto:opera-linux-request at opera.com?subject=unsubscribe
>
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the Opera-Linux
mailing list