debugobjects is a generic infrastructure to track the life time of kernel objects and validate the operations on those.
debugobjects is useful to check for the following error patterns:
Activation of uninitialized objects
Initialization of active objects
Usage of freed/destroyed objects
debugobjects is not changing the data structure of the real object so it can be compiled in with a minimal runtime impact and enabled on demand with a kernel command line option.