Wireshark-dev: Re: [Wireshark-dev] Lua debug statement not working in Wireshark 3
From: Jeff Morriss <[email protected]>
Date: Fri, 26 Apr 2019 08:06:14 -0500

On Fri, Apr 26, 2019 at 4:20 AM David Aldrich <[email protected]> wrote:

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:

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.