A new feature of WebObjects 4.0 allows you to debug applications on a machine that doesn't have a web server present. See "Serverless" Applications for more information.
WOApplication, WOComponent, and WODirectAction define a method named debugWithFormat: (debugString in Java). This method is similar to logWithFormat:/logString except that you can control whether it displays output with the WODebuggingEnabled user default option. If WODebuggingEnabled is YES, then the debugWithFormat: messages display their output. If WODebuggingEnabled is NO, the debugWithFormat: messages don't display their output. WODirectAction also defines logWithFormat:.
[NestedList:WXNestedList] (item: {label = Alpha.2.1; value = A.2.1; }) ==> currentItemThe format of these logs is controlled by two new methods on WOApplication that can be overridden to customize the log messages: logTakeValueForDeclarationNamed:type:bindingNamed:associationDescription:value: (logTakeValueForDeclarationNamed in Java), and logSetValueForDeclarationNamed:type:bindingNamed:associationDescription:value: (logSetValueForDeclarationNamed in Java).
[NestedList:WXNestedList] (index: 0) ==> currentIndex
[NestedList:WXNestedList] sublist <== (currentItem.sublist: *nil*)
[NestedList:WXNestedList] (item: {isNew = 1; label = Alpha.2.2; value = A.2.2; }) ==> currentItem
[NestedList:WXNestedList] (index: 1) ==> currentIndex
[NestedList:WXNestedList] sublist <== (currentItem.sublist: *nil*)
Table of Contents Next Section