Manage Learn to apply best practices and optimize your operations.

Toggle debug LotusScript

This tip describes how to toggle LotusScript debug.

I use these two smart icons to easily toggle the "Debug LotusScript" action. It uses an environment variable called "UserDebugMode". When I first start the Notes client, the first thing I do is click the "Set Debug LotusScript Off" smart icon just to make sure it's off.

"Set Debug LotusScript Off" Smart Icon
 - @Environment("UserDebugMode";"0")

"Toggle Debug LotusScript" Smart Icon - 
@If(@Environment("UserDebugMode") = "0";
@Prompt([OK];"Debug ON";"Debug
 mode is now ON"));
@Prompt([OK];"Debug OFF";"Debug 
mode is now OFF")))
This was last published in April 2003

Dig Deeper on Lotus Notes Domino Formula Language

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...