To check for code that never executes, step through the script with Debug > Step Into. For additional information, see Stepping Into and Over Functions.