Chapter 6. Server-Side Debugging Techniques

As of Notes/Domino 8.5.3, Domino Designer has no Server Side JavaScript (SSJS) debugger. However, it has a powerful Java debugger. You already know from Chapter 5, “Server-Side Scripting,” that you can write SSJS code to directly incorporate Java object code into your applications. This built-in Java debugger can be an essential tool when it comes to debugging Java code called from SSJS. But what about debugging the actual script code itself? In the absence of a full-blown Server Side JavaScript debugger, you can still help yourself by using some simple XPages features. This chapter starts by describing two useful server-side global functions and a simple programming construct that you can readily use ...

Get XPages Portable Command Guide: A Compact Resource to XPages Application Development and the XSP Language now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.