Wireshark-dev: Re: [Wireshark-dev] Lua debug statement not working in Wireshark 3

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxx>
Date: Sun, 28 Apr 2019 18:06:56 +0000

From https://www.wireshark.org/docs/relnotes/wireshark-3.0.0.html

 

Major API Changes

  • Lua: the various logging functions (debug, info, message, warn and critical) have been removed. Use the print function instead for debugging purposes.

 

- Chris

 

From: Wireshark-dev [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of David Aldrich
Sent: Friday, April 26, 2019 5:20 AM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Lua debug statement not working in Wireshark 3

 

[THIS MESSAGE ORIGINATED FROM A NON-IGT EMAIL ADDRESS]

 

Hi

Since upgrading to Wireshark 3 my lua dissector reports error:

"attempt to call global 'debug' (a table value)"
 
for line:

debug("PRB #" .. prb_index)

Why is this? (Sorry if this has been asked before).

Best regards

David

 



 

CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.