0Pricing
JavaScript Academy · Lesson

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

  1. Beyond console.log
  2. Setting Breakpoints
  3. Stepping Through Code
  4. Reading Stack Traces
← Back to JavaScript Academy