DebugHook got miswired before

This was throwing ClassCastExceptions when used.  Now it works