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

Hi, i'm trying to develop a new heuristic dissector. Actually i have no cmake errors and no msbuild errors but when i try to debug my plugin wireshark starts to display some run-time errors.

Image and video hosting by TinyPic

After that it starts but obv i don't want this errors and i don't understand why.

Suggestions?

thanks in advance

asked 21 Jun '16, 05:19

kenhero's gravatar image

kenhero
6568
accept rate: 0%

I deleted wsbuild64 and builded again the project with msbuild Actually i have this error:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" terminato con il codice 9009. [C:\Development\wsbuild64\copy_data_files.vcxproj]

(21 Jun '16, 07:44) kenhero
1

Ensure that no program is running (like Wireshark.exe or dumpcap.exe for example) from your previous build attempt while executing the msbuild command. This error means that your system fails to copy a file (probably because the target is already in use).

(21 Jun '16, 08:17) Pascal Quantin

I presume you are launching Wireshark from the Wireshark.sln file.

This solution files is messing with the environment variables, leading to the popups you see. You have 2 solutions:

  • Remove the extcap executables from the extcap folder as you do not care about them
  • or do not launch Wireshark from the solution file, but instead in open Visual Studio IDE, do File -> Open -> Project/Solution and selects Wireshark.exe in your run\relWithDebInfo or run\Debug folder. Then open whatever source file you watn and put your breakpoint.
permanent link

answered 21 Jun '16, 07:43

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Your answer
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:

×637
×13
×11

question asked: 21 Jun '16, 05:19

question was seen: 1,166 times

last updated: 21 Jun '16, 08:17

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