1.

How to debug a JavaScript and AJAX-based application?

Answer»

There are debugging tools that allow server-side and client-side debugging separately. For Mozilla Firefox and Google Chrome, there is a browser extension debugger called FireBug. It provides information RELATED to AJAX calls. So, the developers using AJAX in their application would always need to include the capability to access the JAVASCRIPT runtime, inspect the browser DOM, and check the HTTP REQUESTS and responses (using XMLHttpRequest). Apart from this extension, developers can ALSO use the "alert()" function calls inline like that of System.out.println() to perform debugging wherever necessary.



Discussion

No Comment Found