Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: David Aldrich <david.aldrich.ntml@xxxxxxxxx>
Date: Fri, 26 Apr 2019 14:20:25 +0100
On Fri, Apr 26, 2019 at 2:08 PM Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:


On Fri, Apr 26, 2019 at 4:20 AM David Aldrich <david.aldrich.ntml@xxxxxxxxx> 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:


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.

Thanks for your answer.

David