Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Asynchronous Programming with JavaScript!
You have completed Asynchronous Programming with JavaScript!
Preview
Use the Chrome DevTools debugger to step through the code you've written and highlight the flow of code execution.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
From the EventListener handler
to the AJAX onload callback,
0:00
to the anonymous function that's
passed to get JSON, and so on.
0:02
Stepping through code is when
you execute code one line or
0:06
function at a time to observe
changes in the data and in the page,
0:10
which helps you understand exactly
what's happening in your program.
0:13
It's also incredibly helpful for
debugging code.
0:17
In the sources panel I'll set
what's called a breakpoint,
0:20
which is the spot in the code you want
to pause execution of the program.
0:23
I'll set a breakpoint by expanding this
list of Event Listener Breakpoints on
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up