Wireshark-dev: Re: [Wireshark-dev] Getting a wireshark stack trace on Windows

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 23 Aug 2013 14:10:45 +0100
pdb's for trunk can be found in a zip file in the same directory as the executable installer. 

Note that pdb's are only kept available for the length of time that the installer is.  Once the pdb's have been deleted then debugging becomes close to impossible.

Graham


On 23 August 2013 08:28, Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> wrote:
Hi,

pdb file is available (for stable release) in this page : http://www.wireshark.org/download/win32/all-versions/ (search Wireshark-pdb-win32-xxx.zip file)

I don't known if pdb is available for trunk release...



On Fri, Aug 23, 2013 at 8:36 AM, Speck, Michael AVL/DE <Michael.Speck@xxxxxxx> wrote:
Hi Evan,


basically you could use Microsoft's WinDbg, a free to use visual debugger. It is part of the Windows SDK, but could be installed as a standalone component by de-selecting all other features in the SDK installer. It could be downloaded from Microsoft's website at this URL: http://www.microsoft.com/whdc/devtools/debugging/default.mspx

There are two possibilities to debug a program:
1.) Start the debugger and choose "Open Executable..." from File menu to run the program in question under debugger control from beginning or
2.) configure the debugger as post-mortem debugger that will catch up after a program crashed. You'll find a description on how to setup this mode in the online help of WinDbg (search indexs for "postmortem")

In order to get a stack trace that contains function names instead of just some addresses you need debug symbols of the crashed program and the libraries it uses. That could either be in a separate file (*.pdb) or included inside the binary. Take care to properly configure symbol pathes (File -> Symbol File Path...). If debug symbols are not available for all resources wouldn't be a problem.


best regards
Michael



-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Evan Huus
Sent: Donnerstag, 22. August 2013 21:02
To: Wireshark Developer List
Subject: [Wireshark-dev] Getting a wireshark stack trace on Windows

Could somebody who knows windows a little better take a look at bug #9062? I don't fully understand how our build environment interacts with windows debuggers / stack tracers. Is there a way to get a symbolic stack trace on Windows without compiling from source? Do the build-bot nightly packages include symbols?


Thanks,
Evan