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, solving the actual problem becomes easy. |