Wireshark mailing list archives

Re: Lua debug statement not working in Wireshark 3


From: "Maynard, Chris" <Christopher.Maynard () IGT com>
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 () wireshark org] On Behalf Of David Aldrich
Sent: Friday, April 26, 2019 5:20 AM
To: wireshark-dev () wireshark org
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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: