Returns a snapshot of a all categories that are currently in use .
This list may change anytime. The caller has to free the list after use.
the list of debug categories