Move the view analyzer code into the debug menu.