Debug object scripts
Unlike the other types of scripts, in the object scripts there is not a main procedure or a predefined sequence of procedures, since the management takes place on the basis of the events generated.
Therefore, in order to debug the script, it is not possible to issue a generic start command: first select the procedure to be executed.
To debug, proceed as follows:
- Position the cursor at an instruction line belonging to the procedure you want to test. Execution must necessarily start with one of the predefined event management procedures.
- Select the Execute (F5) or Execute (F8) command: the debugger starts executing the current procedure.