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

I just want to debug some part of my custom dissector with printf. But I don't know where the stdout is redirect, and the only answer that I found is to open a "debug console window", but I don't have this option in my wireshark.

I need help.

asked 20 Mar '11, 08:20

chronidev's gravatar image

chronidev
11557
accept rate: 0%

edited 20 Mar '11, 08:20


From your comment I assume you don't run on Windows, that's good.

As you said, output goes to stdout. So open up a console window and start Wireshark from there. I actually do that always, having setup a desktop file which opens a console first then launches Wireshark.

permanent link

answered 20 Mar '11, 08:45

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Thank you. I think it's because we are Sunday, I had forgotten to make the "make install". Sorry.

(20 Mar '11, 09:09) chronidev

open a "debug console window", but I don't have this option in my wireshark.

In Wireshark do Edit ! Preferences and select "Always (debugging)" from the drop-down menu on the "Open a console window" preference.

permanent link

answered 20 Mar '11, 08:28

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

With the latest svn tree I don't have this option in the preference box.

(20 Mar '11, 08:35) chronidev
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
×158
×23

question asked: 20 Mar '11, 08:20

question was seen: 10,577 times

last updated: 20 Mar '11, 09:09

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