ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] how to debug on windows?

From: "Joshua (Shiwei) Zhao" <swzhao@xxxxxxxxx>
Date: Fri, 24 Oct 2008 11:20:07 -0700
Thanks a lot! The tips link looks very helpful and I'll read through.
I use VS2005 because it was recommended in the developer doc as the
only available FREE complete version.

Thanks,
Joshua


On Fri, Oct 24, 2008 at 10:58 AM, Bill Meier <wmeier@xxxxxxxxxxx> wrote:
> (Updated to remove junk confusing line at end from previous message).
>
> Bill Meier wrote:
>> Joshua (Shiwei) Zhao wrote:
>>> Hi,
>>> I just started to try making some changes to the code. I'm using MSVC
>>> 2005 EE as IDE. But since we're compiling/building it using the gcc
>>> tool, can I debug it in MSVC or should I use gdb?  How should I start?
>>> I read the online manual for developers but the debug chapter is
>>> empty.  I tried to start debugging in MSVC and wireshark did run, but
>>> it didn't break at the breakpoint I set.
>>>
>>> Many thanks,
>>> Joshua
>>
>>
>> Several comments:
>>
>> 1. If possible, it's probably a good idea to use VS2008 EE since that's
>>     what is being used for the  standard Wireshark Windows builds.
>>     (See the developer document).
>>
>> 2. Re:
>>     > But since we're compiling/building it using the gcc
>>     > tool,
>>
>>    I'm not sure what you mean here. The Windows build of Wireshark
>>    uses the Microsoft compiler (not the GCC compiler) from the command
>>    line (as well as using some cygwin stuff).
>>
>> 3. For debugging using VS see http://wiki.wireshark.org/Development/Tips
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>