mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-10-03 13:00:02 +00:00
Remove temporary fx load-path debug tracer
This commit is contained in:
@@ -376,43 +376,6 @@ function SlashCmdList.MTH(msg, editbox)
|
||||
MTH:Print(" MTH_SetupAnimationsOptions: " .. type(MTH_SetupAnimationsOptions))
|
||||
MTH:Print(" -> If these are 'nil', do /reload (your UI is running code from before the feature was added).")
|
||||
end
|
||||
elseif lowerCmd == "fxdebug" then
|
||||
-- TEMP: dump the animation load-path tracers so we can see exactly where
|
||||
-- fx-celebrate.lua / options-animations.lua aborted at load time.
|
||||
MTH:Print("=== MetaHunt animation load debug ===")
|
||||
MTH:Print("Globals: PizzaSauce=" .. type(PizzaSauce)
|
||||
.. " CreateFrame=" .. type(CreateFrame)
|
||||
.. " MTH=" .. type(MTH))
|
||||
if type(MTH_FX_DBG) == "table" then
|
||||
MTH:Print("fx-celebrate: step=" .. tostring(MTH_FX_DBG.step)
|
||||
.. " sauceType=" .. tostring(MTH_FX_DBG.sauceType)
|
||||
.. " registerOk=" .. tostring(MTH_FX_DBG.registerOk)
|
||||
.. " registerSkipped=" .. tostring(MTH_FX_DBG.registerSkipped))
|
||||
if MTH_FX_DBG.registerErr ~= nil then
|
||||
MTH:Print("fx-celebrate: registerErr=" .. tostring(MTH_FX_DBG.registerErr))
|
||||
end
|
||||
MTH:Print("fx-celebrate: hasCelebrate=" .. tostring(MTH_FX_DBG.hasCelebrate)
|
||||
.. " hasIsEnabled=" .. tostring(MTH_FX_DBG.hasIsEnabled)
|
||||
.. " hasAnimEnabled=" .. tostring(MTH_FX_DBG.hasAnimEnabled))
|
||||
else
|
||||
MTH:Print("fx-celebrate: MTH_FX_DBG is " .. type(MTH_FX_DBG) .. " (file did not reach its first line)")
|
||||
end
|
||||
if type(MTH_ANIM_DBG) == "table" then
|
||||
MTH:Print("options-animations: step=" .. tostring(MTH_ANIM_DBG.step)
|
||||
.. " ready=" .. tostring(MTH_ANIM_DBG.ready)
|
||||
.. " hasSetup=" .. tostring(MTH_ANIM_DBG.hasSetup))
|
||||
MTH:Print("options-animations: req=" .. tostring(MTH_ANIM_DBG.reqType)
|
||||
.. " getFrame=" .. tostring(MTH_ANIM_DBG.getFrameType)
|
||||
.. " clear=" .. tostring(MTH_ANIM_DBG.clearType)
|
||||
.. " checkbox=" .. tostring(MTH_ANIM_DBG.checkboxType))
|
||||
MTH:Print("options-animations: setupCalled=" .. tostring(MTH_ANIM_DBG.setupCalled)
|
||||
.. " setupResult=" .. tostring(MTH_ANIM_DBG.setupResult)
|
||||
.. " containerType=" .. tostring(MTH_ANIM_DBG.containerType)
|
||||
.. " fxEnabledType=" .. tostring(MTH_ANIM_DBG.fxEnabledType))
|
||||
else
|
||||
MTH:Print("options-animations: MTH_ANIM_DBG is " .. type(MTH_ANIM_DBG) .. " (file did not reach its first line)")
|
||||
end
|
||||
MTH:Print("=== end animation load debug ===")
|
||||
elseif lowerMsg == "zoneinfo" then
|
||||
-- Dumps all available zone data for the current zone, for adding to ds-zones / ds-minimap-sizes
|
||||
pcall(SetMapToCurrentZone)
|
||||
|
||||
Reference in New Issue
Block a user