local AceDB = LibStub:GetLibrary("AceDB-3.0",true)
if AceDB then -- go really check someone has some
for db in pairs(AceDB.db_registry) do
--db.sv saved variablre name
this is what I use in reflux to swap profiles.
I can switch profiles fine, but being able to tie them to an entity for later use with out the original savedvariables/*.lua.
Instead, my profiler is going to copy the current profile to be included and loaded based on a set criteria for it's own profile/s
EG: If warlock: load these settings/addons, otherwise, load these.
I wish the curse packager would just create a shadow entry for sv's and optdeps'. X-SavedVariables (you get the idea)
Wish it disembedded too, but meh.
That is why only using the table returned from IterateAddons is the proper solution.
So make an exception for those I come across issues iterating through "addon" with vs making a universal solution?