Restructured code to allow for access to debugging information regardless of current View