I just spent time trying to figure out why my code would not trigger debugger, even though I had no errors in my code anywhere. Here’s what it was…and I am wondering if anyone else has ever seen this happen.
I had a few actions that contained LotusScript that I was copying and pasting. For one of them, instead of leaving the code in the “Click” event, I deleted it to avoid confusion. When you do this with a field, it puts the Sub/End Sub automatically back into the script and there is no problem. However, when you do this with a script action, while it does put the Sub/End Sub automatically back into the script, it does NOT allow you to run debugger. Also, if you notice the “Click” event in the Objects window, the little icon next to “Click” is NOT filled in, even though the code was put in by Lotus.
It is not a big deal, once it is found. However, I spent some time trying to figure out why my debugger would not run, and I figured I would share this and see if anyone else has ever seen this before.
Thanks.