O'Reilly logo

PHP Ajax Cookbook by R. Rajesh Jeba Anbiah, Roshan Bhattarai, Milan Sedliak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Debugging and Troubleshooting

In this chapter, we will cover the following topics:

  • Debugging with Firebug and FirePHP
  • Debugging with the IE developer toolbar
  • Avoiding the framework $ conflict
  • Using the Anonymous function of JavaScript
  • Fixing memory leaks in JavaScript
  • Fixing Memory leaks
  • Sequencing Ajax requests

Debugging and troubleshooting can be a big hassle for you if you don't know how to do this effectively when you use Ajax. In this chapter, we will be learning about a few tools and techniques to debug and troubleshoot Ajax applications.

First of all, we will be looking at the awesome tools built for the Mozilla Firefox browser—Firebug, and FirePHP. These two tools are probably the most popular for debugging Ajax requests and responses. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required