

It executes commands by advancing the lines in the script step by step without going into sub-scripts. If necessary, we can also skip commands or stop the script from running.

When errors are encountered, we can use this tool to return error codes and find hints for finding solutions. The Script Debugger allows us to run a single line of the script using its controls or to run automatically up to the points specified by a breakpoint and then proceed step by step. In Filemaker, we can access the debug tool with the Script Debugger option under the Tools menu.Īfter the Script Debugger is opened, when the scripts run, we can manually advance the commands step by step to see how these script steps affect the program. To help with this, we can use the debugger tool in Filemaker to perform debugging operations and speed up error detection, making our work easier. In such situations, it can be challenging to navigate this complexity and identify the source of errors when they occur. Regardless, errors are frustrating, but they are something that must be addressed.Īs we strive to make the applications we develop more functional, the scripts, content, and complexity within the program tend to increase. Errors can sometimes cause the program to crash or not work, but in other cases, we may encounter more dangerous situations where the program produces incorrect results without any error or warning message due to logical errors. However, errors are a common occurrence during the development of an application.
#Macbook filemaker 15 script debugger breakpoints free#
The Script Task drop down will list all the scripts, and also indicate which one is currently running, scheduled, and which have completed.In order for applications to function smoothly, it is necessary for them to be free of errors. Only scripts that are running can be stepped through. The Script Task dropdown lists all the scripts that are either running, scheduled, or completed. The Script Debugger will pause execution for any scripts that have breakpoints set. The Script Debugger will execute the current function, and pauses at the first line outside of that function.įor example, when part of a function needs to be debugged, stepping out will tell the Script Debugger to run the rest of that function. Step Out is used to step out of a function. For example, if the current line is a function, then stepping over that function will move to the next line instead of stepping through each line of that function. Step Over will execute as one complete step. If the line contains a function, the Script Debugger will enter that function and continue line by line. Step Into can be used to step through a script line by line. When script execution is paused, the Script Debugger can step through the script to examine line by line to inspect variables and objects to help find issues and bugs. When the game is played, the Script Debugger will not pause execution if no breakpoints are present. Clicking on the red circle in the far left margin of Script Editor will remove the breakpoint.

Removing a breakpoint works the same way as adding a breakpoint. On clicking in the margin, a red circle will be added to the margin, indicating that line has a breakpoint. Adding a breakpoint can be done by left clicking with the mouse in the far left margin of the Script Editor.

Adding a BreakpointĪ breakpoint can be added so the Script Debugger knows where to pause execution. Markers can be set by left clicking with the mouse in the far left margin of the Script Editor. More than one marker can be set in a script, but only one can be set for each line. Adding and Removing BreakpointsĪ breakpoint is a way to mark a specific line in a script for debugging. Clicking on the icon will change to red, indicating that the Script Debugger will pause on error. This can be useful to have enabled when scripts in a game are causing an error. The Script Debugger has the option to automatically pause the game when an error has occurred. Next time the Script Debugger is enabled, the breakpoints will also be enabled. This allows creators to disable all breakpoints without removing them. When disabling the Script Debugger, all breakpoints will also be disabled. Content Creator Kit Content Creator Kit.Make Your First Game Make Your First Game.Script Debugger Script Debugger Table of contents.Coming from other Platforms Coming from other Platforms.
