This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

no symbols have been loaded

1

hi, during debugging the wireshark dissector i am getting the error as "no symbols have been loaded" , i have given the correct path to .pdb file but still getting the same error. can anybody help me in this issue.

asked 08 Jun '11, 01:57

sagu072's gravatar image

sagu072
35232428
accept rate: 0%

retagged 08 Jun '11, 19:48

helloworld's gravatar image

helloworld
3.1k42041

Which debugger are you using?

I've used gdb, Eclipse, Netbeans, and Visual Studio to debug Wireshark, and I"ve never had to specify a pdb file.

(08 Jun '11, 19:52) helloworld

Hi I am using MSVC++ Express Edition and have the same problem. I can step in wireshark with F11 (starting at WinMain) but when I set a breakpoint within my custom plugin I get the "no symbols have been loaded for this document" message.

Any help?

(13 Sep '11, 23:50) Kostas

Where are you running Wireshark from for your debug session?

(13 Sep '11, 23:54) grahamb ♦

Sorry it was quite simple. When I start the debugger (at WinMain) my plugin dll had not been loaded, so when I set a breakpoint at a plugin source file, MSVC++ complains.

However, when I click continue and then load a capture that triggers my plugin, the dll is loaded (with the symbols) and the breakpoint becomes valid!

(14 Sep '11, 00:14) Kostas