Wireshark-dev: Re: [Wireshark-dev] How to print the output of the printf() on the command line
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Sat, 20 Jun 2015 12:37:54 +0200
Hi,


On Sat, Jun 20, 2015 at 10:47 AM, JAI BHAGWAN YADAV <saurav.yadav0005@xxxxxxxxx> wrote:
Hello all,

I am a beginner,
My O.S. is 64 bit, Ubuntu 12.04 on virtual machine.

Q- I want to know about a specific function in wireshark source code so I am trying by adding printf() in different files, having #include <stdio.h>. But when I executes the command make and after that ./wireshark, wireshark starts with one error on the command line interface, i.e., nl80211 not found. And no output of the printf() is shown (Wireshark is working). So, please tell me how to print on the command line interface. Or should I start this only by ddd or gdb?

It is on dissectors files ?
because you can use proto_tree_add_debug_text() function to disable debug...

Regards,
Thanks and regards

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe