Wireshark-dev: Re: [Wireshark-dev] Debugging WireShark / Visual 2008 / XP

From: "Pat Saunders" <Pat.Saunders@xxxxxxxxxxxxx>
Date: Fri, 14 Nov 2008 15:47:43 -0000
Thanks - I have familiarised myself wirh step into etc
How I do debug a process at startup - I know I have to attach to the
wireshark process at startup - but if it crashes at startup : how do I
debug at startup ??


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Bill Meier
Sent: 14 November 2008 15:42
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Debugging WireShark / Visual 2008 / XP

Pat Saunders wrote:
> 
> 
> Hi,
> 
>             I am using Microsoft Visual 2008 : winXP
> 
>             I have added a small plug-in but when I start
Wireshark.exe 
> it crashes with a fault address in libwireshark.dll.
> 
>             I am 75% sure this is due to my plug-in (When I take my 
> plug-in out it starts most of the time).
> 
>             My Question is how do I go about debugging the
WireShark.exe 
> to find out where the fault address crash is ??
> 
> (1)      - Are there any log files or debugging info .??
> 
> (2)      - Do I use the Visual 2008 debugger - if so, Do I need to 
> compile in debug mode ??
> 
>  
> 
> I am not very familiar with Visual 2008 - so any tips would be
appreciated
> 
>  
> 

See "Using MSVC++ for debugging" under 
http://wiki.wireshark.org/Development/Tips.

It's also worthwhile to spend a little time familiarizing yourself
with the various VS debugging windows and function keys (F5, F10, F11,
etc).




_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev


This message has been checked for all known viruses on behalf of SunGard
Public Sector by MessageLabs. 

http://www.messagelabs.com or Email:
mailsweeper.info@xxxxxxxxxxxxxxxxxxx

For further information http://www.sungardps.co.uk

**********************************************************************
SunGard Public Sector Limited, Methuen Park, Bath Road, Chippenham, Wiltshire  SN14 0TW
Telephone: 08456 041999,  Fax: 08456 052999

Registered Office:  25 Canada Square, London E14 5LQ.  Registered in England No.
1593831 VAT Reg No. GB 810 9546 34
**********************************************************************
CONFIDENTIALITY:  This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and is intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized disclosure or use is prohibited.  If you received this e-mail in error, please notify the sender and delete this e-mail from your system.
**********************************************************************


This message has been checked for all known viruses on behalf of SunGard Public Sector by MessageLabs. 

http://www.messagelabs.com or Email: mailsweeper.info@xxxxxxxxxxxxxxxxxxx

For further information http://www.sungardps.co.uk