I'm testing someone's else dissector which seems not working as expected in the decryption part that is related to Wireshark(more specifically, the file called packet-ssl-utils.c). I want to find out what is going wrong so I decided to debug the relevant code. I built Wireshark under linux in the command line and I used Mousepad text editor to add several One solution I'm thinking in is rebuilding Wireshark in eclipse and use the debugger there. However, this solution seems to involve some complicated steps and I wasn't able to tell if it works or not based on the quick Google's search I did. So I thought that I can ask here about suggestions to methods or tools to use to debug a WireShark dissector. Thanks in advance! asked 08 Jul '14, 15:41 flora edited 08 Jul '14, 15:42 |
One Answer:
Well, I don't think there is a 'best' way, so I recommend to start with the Wiki Furthermore you could use your preferred debugger add some breakpoints with the G_BREAKPOINT() macro. See my comment in the following question:
Regards answered 08 Jul '14, 17:27 Kurt Knochner ♦ |
Thank you. The first link was really useful.
You're welcome.