Wireshark-dev: Re: [Wireshark-dev] Query Regarding debugging
From: Graham Bloice <[email protected]>
Date: Mon, 13 Aug 2007 15:18:08 +0100
[email protected] wrote:
> Hi,
> If I want put some printf in c file, it is possible or not.
> because I have changed in packet_umts_fp.c, after changing the file  it
> gives error at the time of decoding.
> [Dissector bug, protocol FP: STATUS_ACCESS_VIOLATION: dissector accessed an
> invalid memory address]

If you are running under win32, run it under the VS debugger:

1.  Start WS.
2.  In VS, choose either Build | Start Debug | Attach To Process (VC 6) or
Tools | Attach To Process (VS2005) and select the WS process.
3.  Open your capture, when exception is hit, you will enter the VS debugger.
4.  When prompted, point VS at your source file location.


Graham Bloice
Software Developer
Trihedral UK Limited
Tel: +44 (0)1224 258910