add some debug hooks for tracking the behavior of the isel.