When I debug my version of tshark, warnings showed as below.I want to find the line of code where warnings come out, and wonder know how to do?
I just kown where to print the warning message, and I want to know where the bug is, how to do? asked 01 Dec '13, 23:38 metamatrix edited 02 Dec '13, 09:52 Bill Meier ♦♦ |
One Answer:
You can use one of the usual suspects for debugging an exe on Windows, Visual Studio or WinDbg. Using the debugger of choice, start debugging tshark.exe in the wireshark-gtk directory of your build environment, set the arguments to the debugee (tshark) as required, you may need to point the debugger to the source file location, set breakpoints as required and you should be up and running. answered 02 Dec '13, 02:48 grahamb ♦ |