neilogd/Psybrus — Issue #23: Content: Debug reference tracking system.
Author: neilogd
Created: 2012-01-04 13:16:58+00:00
State: open

Could do with a way to track references in debug/release builds. Don't want this to be possible in a production build (keep refs lightweight), but in a debug or release build it should be possible to find out which objects (if based on CsResource) are holding references to what other objects.

Possibly reserve strong CsResourceRef usage for use within other CsResource based objects, and require construction of them with the owning class? Whatever I chose to do needs to be as intrusiveness as possible, and able to be defined out without change to game code.