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

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
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×193
×158
×6
×4

question asked: 08 Jun '11, 01:57

question was seen: 3,716 times

last updated: 14 Sep '11, 00:14

p​o​w​e​r​e​d by O​S​Q​A