« Return to Thread: How to debug a pidgin plugin

Re: How to debug a pidgin plugin

by Etan Reisner-2 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

On Wed, Jul 01, 2009 at 05:30:55PM +0530, evanescent wrote:

> Hi,
> I have developed a pidgin plugin, is another chat client which uses bonjour
> protocol, to communicate in a LAN.
> When I send a message using my plugin the application gets crashed.
> I need to find out where (the line of source file) the bug is?
>
> so how can i debug a piding plugin to find the exact line of the source
> where the error occur?
>
> Thanks

Build pidgin, libpurple, and your plugin with debugging symbols and run in
gdb. Or get a core file and run gdb on the core file.

Essentially just this process: http://developer.pidgin.im/wiki/GetABacktrace

    -Etan

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

 « Return to Thread: How to debug a pidgin plugin