Database Reference
In-Depth Information
That's where Script Debugger comes in. When you run scripts with Script Debugger turned
on, FileMaker performs scripts at human speed, so you can see exactly what's happening
each step of the way.
NOTE
To run Script Debugger, it's best to be logged into the file with a password that has script editing
privileges (see Privilege Sets ) . But if you need to figure out how a script runs for lesser accounts,
then you can log in as someone else and then use the Authenticate/Deauthenticate button.
To see the Script Debugger, choose Tools→Script Debugger. When you do, the Script De-
bugger window appears on the screen ( Figure 13-2 ). Left to its own devices, the Script De-
bugger window doesn't do much. It consists of a couple of blocks of empty space and several
buttons you can't click.
But it shows its true colors when you run a script. As soon as you do, it swings into action. It
shows the name of the script you're running near the top and the complete contents of that
script just below. You can even see the value of any parameter that was passed to the script.
But more important than all this, you can control the script as it runs. You can run just one
line of the script at a time, dig into subscripts or back out to the calling script, skip over some
steps completely, back up and run some steps over again, or stop the script in its tracks.
Search WWH ::




Custom Search