Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
There are various factors which make it a pain to debug lotusscript/template code for a complex template like the mail template.
Some examples (adding/improving per the comments. Thanks! ):
1. It would be excellent to be able to search the source code that you're debugging. For example, to set a breakpoint. Cannot Search code or Goto a line in debugger to set break point at some particular line
2.Sort the member variable names of an object, so you don't have to browse the entire list to know the value of variable you are interested in. Cannot watch variables. Perhaps add SEARCH function.
When you open notesdocument.items variable, you see the item index [0]..[n] on left side instead of the item name. So even after sorting the member variables won't be ordered in terms of item names. Suggest to sort the field names within notesdocument.items.
3. Stop debugging does not work at times.
Sometimes the debugger halts on a line where no breakpoint has been set.
4. Cannot debug lotusscript within a dialog and have to use print statements
5. Give option to disable debugging into applications other than the one you started with! Or give a debugger runtime option to skip a particular db.
6. Debugger window/menu issues
i. The menu state of the debugger in Designer is sometimes wrong, e.g. when you turn it on in Designer, but turn it off in the client, Designer doesn't notice it's off.
ii. Sometimes you need to terminate Notes to disable the debugger. The menu options of the deubgger don't allow to close it/are grayed. Often when debugger is active, and I create a memo (because I forgot debug was on), the memo opens in the debugger client window instead of in Notes, and everything is locked up -- must terminate Notes processes.
iii. Occasionally, when starting debugging, the debugger grabs focus but doesn't open/come to the front. Clicking around in the client and Designer windows doesn't help. Alt-tab doesn't work. You have to select the debug window from the Windows task bar and then click on it. Something like that. It is, at any rate, the opposite of smooth.
7. Coloring to differentiate
One cause for the debugger not showing the line actually executing is lines with multiple statements separated by a colon. Please fix
It would be useful to be able to start the LS debugger at a certain event, like a button click, so you don't have to go through all the QueryOpen events and such.
Also wouldn't mind syntax coloring and font control. Helps a great deal in spotting the breaks between modules.
Also:
https://domino.ideas.aha.io/ideas/DDXP-I-8
More than 256 items displayed in a document
add SEARCH function in the object tree window
when you open 'items' you see [0], [1], [2]...[n] ...on the right. it should be the item name
the values of the item should be shown (on the right side) as first in the object tree
or the opposite of what Theo suggests with 4:
"Debug LotusScript" shall only debug the current application
1b: Sort the field names within document.items
4. Have a DB option to disable debugging into it, when you are debugging another app (e.g. your own email)