Script debugging - stepping

Debugging of actions is controlled by the local pop-up menu, or by keyboard shortcuts. The pop-up menu is displayed after pressing the right mouse button above the script source text (script editor - part 4).

ESL script - popup
Action Meaning
Insert / Remove BreakPoint Inserts a breakpoint (script editor - part 3) for the action given by the cursor position. The script execution will be stopped when it reaches the breakpoint.
When the debugging is finished and started again the breakpoints will be activated (only when the row count of ESL script has not been changed).
Clear All BreakPoints Clears all breakpoints.
Add To Watch Inserts a local variable to the list. After the local variable is inserted to the list the tab Watch will display automatically (Watch).
Pause Interrupts continuous execution of script actions (e.g. after selecting the option Continue, or Go To End ).
Continue Runs continuous execution of script actions to the nearest breakpoint, end or an error occurrence (see the parameter Settings).
Step Over Stepping without nesting.
Step Over + Profiling Performs a step without nesting and dumps the profiling information about this step. After performing this step, the excel file with contingent table opens. This file contains the detailed information about the executed action. The profiling information is processed and displayed through the tool ESL profiler, which needs installed Microsoft Excel for its functionality.

Warning: Viewing the profiling information may take a few seconds.
Step Into Stepping with nesting.
Go To Line Runs continuous execution of script action to the current action, the nearest breakpoint, end or error occurrence..
Go To End Runs the continuous execution of script actions to the nearest breakpoint, end or error occurrence.
Settings Sets the parameters for continuous action execution or stepping.
Evaluate selection Shows QuickWatch dialog box allowing to evaluate any expression that is admissible for the script. Starting expression is given by
  • selected text in the script
  • local variable or structure item at which the cursor is pointing
Quick watch
Show Instance Info Shows detailed information about the current instance of ESL script
Show All Instances Shows the list of all running instances of the edited ESL script.
Go to definition After clicking the item the cursor is automatically moved to the declaration of the identifier.
Go back The cursor moves back to the place where "Go to definition" had been called from. It keeps the last 25 callbacks "Go to definition".
Go forward The cursor moves to the place where it was before "Go back" calling.
Edit object If the text under the mouse cursor is a valid object name, the option enables to open it for editing.
Copy Copies selected text to clipboard.
Cut Removes selected text.
Paste Pastes the text from clipboard.

Related pages:

Napíšte komentár