Wireshark mailing list archives

Re: Lua debug statement not working in Wireshark 3


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Fri, 26 Apr 2019 08:06:14 -0500

On Fri, Apr 26, 2019 at 4:20 AM David Aldrich <david.aldrich.ntml () gmail com>
wrote:

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).


See the 3.0 Release Notes:

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

Particularly the "Major API Changes" section which says:

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

___________________________________________________________________________
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: