How to debug a pidgin plugin

Etan Reisner pidgin at unreliablesource.net
Wed Jul 1 11:56:07 EDT 2009


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




More information about the Devel mailing list