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

Hello everyone,

I have a problem for few days, when I would like to debug my Wireshark version. After that Wireshark finish the "Loading module preferences" a message error appear and said that "QT5PrintSupportd.dll" or "wiretap-2.0.4.dll" wasn't founded. Neither wireshark.exe nor wireshark-gtk.exe work but unfortunately both files exist in the debug folder and if I launch tshark it works perfectly.

Here is my debug output from visual studio:

Wireshark Debug

Best regards,

asked 04 Jul '16, 00:33

stezerow's gravatar image

accept rate: 0%

edited 04 Jul '16, 00:44

Do Wireshark.exe or wireshark-gtk.exe work if you run them from the command line?

(04 Jul '16, 02:39) grahamb ♦

No they don't work neither with the msbuild command. It's strange because I have already managed to compile them before

(04 Jul '16, 03:01) stezerow

Something's broken in your build. Assuming you're using a CMake build, delete your build directory, create a new one, regenerate the build files with CMake ... and then build again.

permanent link

answered 04 Jul '16, 03:04

grahamb's gravatar image

grahamb ♦
accept rate: 22%

I have used the CMake and build again but the same problem appear. I think the problem comes from the "Loading Prefences" fail and I have founded a solution proposed in this subject.

(04 Jul '16, 23:52) stezerow

The issues in the related questions all seem to be down to issues with WinPcap, and calls made by dumpcap hanging. This just causes the UI to freeze and doesn't generate error messages about DLL's not being found.

Are you still getting the messages about DLL's not being found?

(05 Jul '16, 01:33) grahamb ♦

I notice that now I can run the .exe generated by the msbuild command. But the DLL messages still appear and they stop the debug

(05 Jul '16, 02:26) stezerow

You're running the exe from the command line or attempting to run in the Visual Studio debugger?

If the latter, see this question.

(05 Jul '16, 02:49) grahamb ♦

I'm attempting to run in the Visual Studio debugger. I have tried with your command from the link but it didn't succeed for me

(05 Jul '16, 04:36) stezerow

When running under the Visual Studio debugger, you must add the full path\to\run\RelWthDebInfo to the shell path before starting Visual Studio from the same shell.

(05 Jul '16, 04:48) grahamb ♦
showing 5 of 6 show 1 more comments
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 04 Jul '16, 00:33

question was seen: 1,180 times

last updated: 05 Jul '16, 04:48

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