
OPERATION
LSM 510 Macro
B 40-051 e 07/98 4-155
4.10.5 Editing and debugging of macros
The <Edit> button activates IDE which allows macros to be edited and debugged. Under the "Help -
Contents and Index" menu item, IDE contains detailed "online" help on its operation and on the VBA
macro language. Therefore, only a few hints are provided in the following:
You should activate the required toolbars. We would recommend you to activate the "Debug" toolbar
via the "View - Toolbars -Debug" menu item.
The following buttons in the toolbar can help you when debugging macros:
Starts running the command lines
Stops running the command lines
Interrupts processing of the command lines (pause)
Sets a breakpoint in the line with the text cursor.
Processes a command line and steps into subprocedures
Processes a command line and steps over subprocedures.
Exits the subprocedure (step out).
Displays the value of the marked expression (Watch). If nothing is marked, the value of the
variable above the text cursor is displayed.
Activates the "Watch" window in which values of variables and expressions can be displayed.
For this, text is marked in the code window and dragged into the "Watch" window. Variables
can be modified in the "Watch" window.
In the left-hand edge of the code window you will find an arrow beside the current command line. A
new current command line can be determined by moving the arrow via the mouse. This makes it
possible to skip command lines or to process command lines several times.
Kommentare zu diesen Handbüchern