| 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: beth.tridium@xxxxxxxxx
 To: wireshark-dev@xxxxxxxxxxxxx
 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.
 
 
 
 Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
 |