function luaU.DumpDebug(V,O,w)local W W=w.strip and 0 or O.sizelineinfo V:DumpInt(W,w)for W=0,W-1,1 do V:DumpInt(O.lineinfo[W],w)end W=w.strip and 0 or O.sizelocvars V:DumpInt(W,w)for W=0,W-1,1 do V:DumpString(O.locvars[W].varname,w)V:DumpInt(O.locvars[W].startpc,w)V:DumpInt(O.locvars[W].endpc,w)end W=w.strip and 0 or O.sizeupvalues V:DumpInt(W,w)for W=0,W-1,1 do V:DumpString(O.upvalues[W],w)end end
------------------------------------------------------------------------
-- dump debug information
------------------------------------------------------------------------
function luaU:DumpDebug(f, D)
	local n
	n = D.strip and 0 or f.sizelineinfo -- dump line information
	--was DumpVector
	self:DumpInt(n, D)
	for i = 0, n - 1 do
		self:DumpInt(f.lineinfo[i], D)
	end
	n = D.strip and 0 or f.sizelocvars -- dump local information
	self:DumpInt(n, D)
	for i = 0, n - 1 do
		self:DumpString(f.locvars[i].varname, D)
		self:DumpInt(f.locvars[i].startpc, D)
		self:DumpInt(f.locvars[i].endpc, D)
	end
	n = D.strip and 0 or f.sizeupvalues -- dump upvalue information
	self:DumpInt(n, D)
	for i = 0, n - 1 do
		self:DumpString(f.upvalues[i], D)
	end
end
