There are not that many tools out there that will support both client-side and server-side debugging. I am certain this will change as AJAX applications proliferate. I currently do my client-side and server-side debugging separately. Below is some information on the client-side debuggers on some of the commonly used browsers.
* Firefox/Mozilla/Netscape - Have a built in debugger Venkman which can be helpful but there is a Firefox add on known as FireBug which provides all the information and AJAX developer would ever need including the ability to inspect the browser DOM, console access to the JavaScript runtime in the browser, and the ability to see the HTTP requests and responses (including those made by an XMLHttpRequest). I tend to develop my applications initially on Firefox using Firebug then venture out to the other browsers.
* Safari - Has a debugger which needs to be enabled. See the Safari FAQ for details.
* Internet Explorer - There is MSDN Documentation on debugging JavaScript. A developer toolbar for Internet Explorer may also be helpful.
While debuggers help a common technique knowing as "Alert Debugging" may be used. In this case you place "alert()" function calls inline much like you would a System.out.println. While a little primitive it works for most basic cases. Some frameworks such as Dojo provide APIs for tracking debug statements.
Posted Date:- 2021-09-16 11:25:14
Which are the two methods used for cross domain Ajax calls?
How to cancel the current request in Ajax?
Is Adaptive Path selling Ajax components or Trademarking the name? Where can I download it?
Should I use an Http get or Post for my Ajax Calls?
Are there any Frameworks available to help Speedup Development with Ajax?
Should I use Xml or Text, Javascript, or Html as a Return Type?
Is it possible to set session variables from Javascript?
How Do I Submit A Form Or A Part Of A Form Without A Page Refresh?
Whats With The -alpha In The Install Instructions?
When Do I Use A Synchronous Versus Asynchronous Request?
Should I Use An Http Get Or Post For My Ajax Calls?
Is Adaptive Path Selling Ajax Components Or Trademarking The Name? Where Can I Download It?
What Is The Difference Between Proxied And Proxyless Calls?
What are the types of post back in Ajax?
What is the primary use of Ajax?
What is asynchronous request in AJAX?
What is Cache false in Ajax call?
How to know that an Ajax request has completed?
What is the use of XMLHttpRequest in Ajax?
What are the disadvantages of Ajax?
What are the advantages of Ajax?
What are the different ready states of a request in AJAX?
What is the difference between JavaScript and AJAX?
How to control the duration of an Ajax request?
Won’t my Server-aspect Framework provide me with Ajax?
What is an asynchronous request in AJAX?
Is It Possible To Set Session Variables From Javascript?
What role of #&& in querystring?
Does Ajax work with another language?
Won't My Server-side Framework Provide Me With Ajax?
Do I Really Need To Learn Javascript?
Do Ajax Applications Always Deliver A Better Experience Than Traditional Web Applications?
Are Ajax applications easier to develop than traditional Web Applications?
What is a synchronous request in AJAX?