Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > WebObjects Developer's Guide


Top

Debugging a WebObjects Application


In the previous chapters, you learned the pieces of a WebObjects application and the kinds of methods you need to write. Once you've put together an application, you should debug it to make sure it runs properly. The techniques you use to debug vary according to the languages you've used to write the application.

This chapter describes how to debug WebScript code, Java code, and Objective-C code in a WebObjects application.

Before you debug, it's a good idea to test your installation and verify that it works properly. If you haven't already done so, follow the instructions in the online document Post-Installation Information.

Launching an Application for Debugging
Debugging WebScript
Debugging Java
Debugging Objective-C

Debugging Techniques
Specifying the Project Search Path
Debugging Without a Web Server
Writing Debug Messages
Using Trace Methods
Debugging Dynamic Elements and Reusable Components
Isolating Portions of a Page

Programming Pitfalls to Avoid
WebScript Programming Pitfalls
Java Programming Pitfalls

First Section