Programming pitfalls to avoid, Isolating portions of a page, Webscript programming pitfalls – Apple WebObjects 3.5 User Manual
Page 60

Chapter 4
Debugging a WebObjects Application
60
methods are useful if you want to see all or part of the call stack. The following
table describes the trace methods:
The output from the trace methods appears in Project Builder’s launch panel.
You use the trace methods wherever you want to turn on tracing. Usually, you do
this in the
init
method (or constructor) of a component or the application:
- init {
[super init];
[self.application traceAssignments:YES];
[self.application traceScriptedMessages:YES];
return self;
}
Isolating Portions of a Page
If a component is producing unexpected HTML output, you can try to isolate
the problem by printing small portions of the page at a time. Use HTML
comments (