Author Topic: How to use LotusScript Debugger?  (Read 1042 times)

LAD

  • Full Member
  • *
  • Posts: 182
  • Karma: +1/-0
    • View Profile
How to use LotusScript Debugger?
« on: February 05, 2009, 09:49:43 AM »
When you run a script in Debug mode, the script is in one of three states:
When a script is interrupted at a breakpoint, the debugger has control.
When a script is stepping, control passes to the script and then back to the debugger after a single statement in the script is executed.
When a script is continuing, it runs uninterrupted until a breakpoint is reached. If you do not set any breakpoints in a script, it runs as if the debugger were not present.
Note  The debugger does not run on the Terminate event.
To use the LotusScript Debugger
  1.   To enable the debugger, do one of the following:
Choose File - Tools - Debug LotusScript
Click the "Debug LotusScript" icon on the toolbar
The message "LotusScript debugging started" appears on the status line.
  2.   Perform the action that starts the script, like clicking a button or choosing an action. When you are in Debug mode and the script runs, execution pauses at the first line of the script and the debugger opens.
  3.   To adjust the windows, drag the horizontal bar separating the panes as desired.
  4.   To disable the debugger, do one of the following:
Click the Close Debugger box
Choose File - Tools - Debug LotusScript again
Click the "Debug LotusScript" icon on the toolbar again
The message "LotusScript debugging terminated" appears on the status line.
Stopping script execution
To stop script execution while the debugger is open, click Stop. All scripts that are at a breakpoint are stopped as if the end of the scripts were reached, and the debugger closes.

 

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages.