JavaScript Debugging Tips and Tricks
23
Debugging Tips and Tricks C# Corner - Delhi Chapter 5th Sep 2015
-
Upload
sunny-sharma -
Category
Education
-
view
206 -
download
3
Transcript of JavaScript Debugging Tips and Tricks
Sequential Uncommenting
Steps:• Comment all your code• Uncomment first block of code (function)• Test if works fine• Uncomment next block of code• Test if still works fine• Carry on till you reach the end OR find the buggy line of code!
• Boring, right?
Developer Tools - Common Terms
o Consoleo Breakpointo Step Ino Step Overo Step outo Call Stacko Watch
Play / Pause script execution
Step Over Step Out
Step In Disable Breakpoints
Pause on Exceptions
Developer Tools - Common Terms