Debugging the index management functions.