Skip to content

Instantly share code, notes, and snippets.

-- INSTALLATION INSTRUCTIONS:
-- 1) copy this file into garrysmod/lua/diagnostic-dump.lua creating the file if it does not exist
-- 2) run the script by loging into your rcon or commandline and typing lua_openscript diagnostic-dump.lua
-- 3) copy the text in garrysmod/data/diagnostic-dump.txt and upload it to hastebin.com or pastebin.com and provide it as a link in your
-- support ticket.
local dumpers = {}
local biggestHeaderLength = 0
local function dumpFunction(func)