The Stack window
The Stack window lists the lines that called the current statement.
                                    
                                
- The first line is the current statement. The second line is the statement that called the first line, etc.
 - Click on a line to bring that script into a sheet and highlight the line in the Script editing window.