Ethereal-dev: Re: [Ethereal-dev] still wondering DDD

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Andy Howell <AndyHowell@xxxxxxxxxxxxx>
Date: Wed, 17 Nov 2004 13:22:22 -0600
Miklos Szurdi wrote:
> If anyone has any idea that on linux how can i debug ethereal10.7 with
> DDD...

The method someone mentioned yesterday works for me.

Either set your LD library path, or use libtool:

libtool --mode-execute ddd ethereal

At this point, you won't have any symbols. Enter "run" in ddd (gdb).

Ethereal will run. Ctrl-C it. Now you can added a break-point.

break dissect-mypacket

That should do it. When I configured, I set CLFAGS="-g -O0", otherwise
some of my temp variables that I want to inspect get optimized away.

Regards,

	Andy