Creating and Executing a Script
To cera...
1. To create a script, perform one of the following:
○
To start a new
script, choose
with the quick info text, Create Script.
○ If you start a new script, the editor automatically displays the Local Debugger Script Class, which you can manipulate and use as a template.
○ To use an existing script, choose Load Script.
A dialog box appears.
■ Choose whether you want to load the script from the Database or from a Local File.
■ Enter the name of the script and choose Continue.

By choosing
with the quick info text Overview of the debugger scripts, you can use a library of
reusable scripts that are divided into categories.
2. In the Trigger screen area, you choose between the following:
○ Execute Directly
The script runs immediately and is executed only once.
○ After Debugging Events.
Select one of the following triggers:
■ Debugger Single Step
The script runs after each Debugger step.
■ Breakpoint Reached
If you
select this option,
with the quick info text Change appears.
You can choose it and create the triggering breakpoint in the Breakpoints tool that appears, or you can define the trigger statically in the script editor.
■ Watchpoint Reached
If you
select this option,
with the quick info text Change appears.
You must choose it and create the triggering watchpoint in the Breakpoints tool that appears, or you can define the trigger statically in the script editor.
3. To save the script, choose between the following:
○
To save the script
directly, choose
with the quick info text Save.
○ To save the script under a different name, choose Save As.
A dialog box appears.
4.
To execute the
script, choose
Start
Script.