Reading Stack Traces
Trace errors back to their source.
What Is a Stack Trace
A stack trace is the list of function calls active at the moment an error occurred. It shows the path the program took to reach the failure.
Reading Top to Bottom
The top frame of a trace is where the error was thrown. Each line below shows the caller, down to the original entry point of the program.
All lessons in this course
- Beyond console.log
- Setting Breakpoints
- Stepping Through Code
- Reading Stack Traces