: 4582 | 108668 | 12353

On demand enabling the LotusScript debugger 
Use this IdeaSpace to post ideas about Domino Designer.

: 22
: 22
: 0
: Domino Designer
: Debugger, lotusscript
: Thorsten Seidel665 22 Jun 2011
:
: / Email
It would be great to generally leave the debugger off, but to enable it on demand within a script.
 
I suggest a new "Option Debug" or "%Debug ON / OFF" in LotusScript that enables / disables the debugger only in this part of code (for the whole Agent / Library or just a special part of code). This would allow a developer to ignore all other code and start debugging right where you need it.
 
Maybe this needs a new global option in designer to enable / disable the feature because I don't want to activate the debugger on end user clients by accident.



1) Randy Davison60 (24 Jun 2011)
Hmmmm... maybe persistent breakpoints? They might serve a similar function.
2) Thorsten Seidel665 (27 Jun 2011)
I noticed that persistent breakspoints are persistent to the function and line where they were set. If you add some lines of code before an existing breakpoint, the breakpoint is then in a line where you'd never expect it :-)

Anyway... since the debugger is ON from the beginning, it would halt at any STOP command in the other code I don't want to debug right now.
Especially when working with many people simultanious in a big project, where everyone is USING all of code but doesn't want to DEBUG it...

So... NO, breakpoints are not an working alternative.










:
:




Welcome to IdeaJam


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>






IdeaJam developed by

Elguji Software Logo