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

This is kind of a newbie question: I am writing a custom dissector with Lua. For debugging, I need to print to the console using Lua's print() function. Under Linux, I can see this output on the console if I start Wireshark from the console. How can I see that output when developing on Windows 10 and launching Wireshark from a cmd shell?

asked 18 Nov '16, 07:50

patrick_oppermann's gravatar image

accept rate: 0%

Not sure if this works for Lua, but in general, Preferences -> Advanced -> gui.console_open. Modify the setting to be other than NEVER.

permanent link

answered 18 Nov '16, 08:02

grahamb's gravatar image

grahamb ♦
accept rate: 22%

Cool, thank you for this hint, however, the GUI console does not display any of my log output. I ended up using the Lua console (Tools -> Lua -> Console) that I can write to using the info() and warn() functions.

(08 Mar '17, 05:46) patrick_oppe...
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: 18 Nov '16, 07:50

question was seen: 3,698 times

last updated: 08 Mar '17, 05:46

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