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

Wireshark-dev: [Wireshark-dev] Wireshark.pdb for Wireshark 2.6 are not loaded

From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Thu, 17 May 2018 12:52:46 +0200
Hi,

While trying to debug a crash dump from Wireshark 2.6.0, I ran into the
following error:

    Wireshark.pdb could not be found in the selected paths

Steps to reproduce:

1. Install https://www.wireshark.org/download/win64/Wireshark-win64-2.6.0.exe
2. Extract https://www.wireshark.org/download/win64/all-versions/Wireshark-pdb-win64-2.6.0.zip
3. Trigger crash in Wireshark, e.g. Tools -> Lua -> Evaluate. Execute:
   local ba = ByteArray.new(""); getmetatable(ba).__gc(ba)
4. Debug Program, attach Visual Studio 2015 and select the previously
   extracted Wireshark.pdb file.

Expected result:
Wireshark.pdb is loaded successfully.

Actual result:
Loading the PDB fails with "Wireshark.pdb could not be found in the
selected paths". Note that symbols for "libwireshark.dll" can be loaded,
it is just "Wireshark.exe" that fails.

What can I do to load the symbols anyway? Is there something in the
packaging steps that has to be changed?
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl