Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

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).

ActionMeaning
Insert / Remove BreakPoint
Go 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 ReferencesA nested editor is displayed with the option to switch between the individual references of the local variable / procedure.
Go to SymbolA 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 BreakpointInserts 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
BreakPoints
BreakpointsClears 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)
.
PauseInterrupts continuous execution of script actions (e.g. after selecting the option Continue, or Go To End ).
ContinueRuns continuous execution of script actions to the nearest breakpoint, end or an error occurrence (see the parameter Settings).
Step OverStepping without nesting.
Step Over + ProfilingPerforms 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 IntoStepping with nesting.
Go
To
to LineRuns continuous execution of script action to the current action, the nearest breakpoint, end or error occurrence...
Go
To
to EndRuns the continuous execution of script actions to the nearest breakpoint, end or error occurrence.
Debugger SettingsSets 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
Quick watchImage Removed

Image Added
Show Instance InfoShows detailed information about the current instance of ESL script
Show All InstancesShows the list of all running instances of the edited
ESL script.Go to definitionAfter clicking the item the cursor is automatically moved to the declaration of the identifier.Go backThe cursor moves back to the place where "Go to definition" had been called from. It keeps the last 25 callbacks "Go to definition".Go forwardThe cursor moves to the place where it was before "Go back" calling.Edit objectIf the text under the mouse cursor is a valid object name, the option enables to open it for editing.
 ESL script.
CopyCopies selected text to clipboard.
CutRemoves selected text.Paste
Command PaletteShows all available commands
Pastes the text from the clipboard.


Info
titleRelated pages:

Script debugging

...