...
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).
![](/download/attachments/132418704/EN_DebugPopupMenu.png?version=2&modificationDate=1631010541540&api=v2)
Insert / Remove BreakPointGo to Definition | The cursor in the editor moves to the place where the identifier is declared. When using "Go to definition" on a remote procedure (RPC/PUBLIC), the ESL editor automatically opens the script containing the procedure definition and sets the cursor to the definition. If the text under the mouse cursor is a valid object name, we open it for editing. |
Go to References | A nested editor is displayed with the option to switch between the individual references of the local variable/procedure. |
Go to Symbol | A selection box is displayed with filtering of all symbols (local variables, procedure parameters, procedures), after selecting the symbol and pressing the ENTER key, the cursor moves to the symbol definition. |
Peek | There are two options here: - Peek Definition (ALT + F12) - the nested editor is displayed at the position of the local variable/procedure definition.
- Peek References - a nested editor is displayed with a reference to a local variable/procedure, with a list of individual references in the right part.
|
Editor Settings | Displays the ESL Editor Settings dialog (font and colors). |
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 the ESL script has not been changed). |
Clear All |
BreakPointsBreakpoints | Clears all breakpoints. |
Add To WatchInserts 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 the contingent table opens. This file contains 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 to Line | Runs continuous execution of script action to the current action, the nearest breakpoint, end, or error occurrence... |
Go |
To to End | Runs the continuous execution of script actions to the nearest breakpoint, end, or error occurrence. |
Debugger Settings | Sets the parameters for continuous action execution or stepping. |
Evaluate |
selectionShows QuickWatch dialog box allowing to evaluate Selection | 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
|
Image Removed Image Added |
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 | Command Palette | Shows all available commands |
Pastes the text from the clipboard.
...