mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
Add debug output to diagnose ShowComboTracking loading issue
Added debug messages to confirm: 1. Whether ShowComboTracking is defined after being created 2. Whether it's successfully exported to global 3. Whether RegisterExtension exists when file loads This will help identify why ShowComboTracking is nil at runtime.
This commit is contained in:
@@ -275,9 +275,17 @@ end
|
||||
-- Export to global namespace NOW, before Extension registration
|
||||
_G["CleveRoids"] = CleveRoids
|
||||
|
||||
-- DEBUG: Confirm ShowComboTracking is defined
|
||||
if CleveRoids.ShowComboTracking then
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cff00ff00ComboPointTracker: ShowComboTracking defined and exported!|r")
|
||||
else
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffff0000ComboPointTracker: ERROR - ShowComboTracking NOT defined!|r")
|
||||
end
|
||||
|
||||
-- Hook into the existing DoCast function (safe to fail)
|
||||
if not CleveRoids.RegisterExtension then
|
||||
-- ExtensionsManager not loaded yet, skip extension system
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffff0000ComboPointTracker: RegisterExtension not found, skipping Extension system|r")
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user