Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying DWR Java AJAX Applications
  • Table Of Contents Toc
  • Feedback & Rating feedback

Testing and Debugging


DWR applications are normal web applications, and so they can be tested and debugged using normal debug tools available in the Eclipse IDE. The Web has information about debugging in Eclipse, for example, the article on the IBM developerWorks site (http://www.ibm.com/developerworks/opensource/library/os-ecbug/). Several books about Eclipse and its features are also available.

Another method for debugging is logging. It may sound "old-fashioned", but here is a quote from the book The Practice of Programming by Brian W. Kernighan and Rob Pike (this quote is found also from Apache's Log4J website):

As personal choice, we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in details of complicated data structures and control flow; we find stepping through a program less productive than thinking harder and adding output statements and self-checking code at critical places. Clicking over statements...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
DWR Java AJAX Applications
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon