On Thu, Feb 01, 2018 at 04:14:33PM +0530, Shakthi Kannan wrote: > But, the plugin fails to load with the message > "~/.luarocks/share/lua/5.1/luacov/hook.lua:26:attempt to index global > 'debug' (a function value)". I had filed a query to Luacov at: > > https://github.com/keplerproject/luacov/issues/55 > > In luacov/hook.lua, the following debug function is being invoked: > > -- Get name of processed file > local name = debug.getinfo(level, "S").source -- line #26 > > The Luacov author mentions that Wireshark is invoking the 'debug' > function instead of the 'debug' module. How can this be resolved?
It looks like "console.lua" is setting the "debug" function. Perhaps those "helpers" should be removed or namespaced, as a workaround you can just comment the debug function: -- function debug(x) ... end -- Kind regards, Peter Wu https://lekensteyn.nl ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <email@example.com> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe