Chapter 7. AJAX Debugging Guide

7.1 Two Sides to Debugging

7.2 Looking at AJAX Communications

7.3 JavaScript Debugging Tools

7.4 JavaScript Exceptions

7.5 Dumping Variables

7.6 Summary

One of the biggest difficulties of developing in AJAX is figuring out how to put your code back together when your applications go wrong. You don’t know if the problem is code on the server or code on the client, or if it’s caused by a cascade of problems between the two. Debugging server-side problems can be especially difficult because the client-side JavaScript code has a tendency to hide the errors, but there is a solution. This chapter covers a number of tools and techniques that let you see exactly what is happening. Once you have information, ...

Get Understanding AJAX: Using JavaScript to Create Rich Internet Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.