Hello,

In order to debug, you can open a window
and print in that window any information
that may help to debug (variables, ...).
An example :

      local w = TextWindow.new("Debug dissector")
      local counter = 0
      w:append("\n\nValue of counter : ", .. string.format(counter))

I hope this will help you.

Regards
Philippe

Date: Fri, 18 Sep 2009 10:58:45 -0400
From: [email protected]
To: [email protected]
Subject: [Wireshark-dev] How to view stdout after launching wireshark GUI?


As I try to debug my Lua issues, it would be really helpful if I could view 
stdout while running the wireshark GUI.  Then I can print debug info with a 
simple printf instead of having to add gratuitous items to the display tree.


I thought all I would need to do is run wireshark from the command line, but as 
soon as the GUI window opens the command line prompt returns immediately.  Is 
there a way to keep it from doing that, so that stdout comes out in the command 
window?


Thanks,
b.


_________________________________________________________________
Messenger débarque dans Hotmail ! Essayez-le !
http://www.windowslive.fr/hotmail/web-messenger/
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to