This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Finding source with DDD

0

I've build wireshark, and can start it up using ddd using the recommended method through libtool "libtool --mode=execute ddd ./wireshark". If I click File > Open Source, it displays a list of .c and .h files, but not all of the files in the project. In particular, I'm looking to debug a dissector. I've tried to add ./epan/dissectors/ to the search path, but that has not helped. How can I tell ddd to look/open source files in the dissectors directory?

Thanks!

asked 31 Dec '13, 13:49

maplante's gravatar image

maplante
16113
accept rate: 0%


One Answer:

1

Run the program up to main(), then the shared objects are loaded, such as 'epan' which contains the dissectors.

answered 02 Jan '14, 15:41

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

That worked.

Thanks!

(Converted to a comment as per the way ask.wireshark works; Please see the FAQ).

(03 Jan '14, 08:21) maplante