Should've thrown this debug code into the debug path long ago.