For example, you can load the data into Excel and build pivot tables to check thatīlocks are run in the expected order, items are randomly selected at the expected counts, the correct number of trials are The structure of the experiment is as expected. You can then analyze the data file to check whether The Test Monkey provides a way to quickly produce sample data from your script. You can also call the bugbreak()įunction if you wish to see property values at a particular point in the script You can open it using the following keyboard shortcut while the script is running. There are two ways to open the Debugger Watch Window. You can use the Debugger Watch Window to see what those values actually are as the script is running at the point when the comparison is being made. This can be a useful advanced tool for debugging expressions that reference various property values.įor example, if you have an expression in the script comparing two property values, and the result of the comparison is not what you expect, The Debugger Watch Window halts execution of the script and shows you the current values of every propery in the script Many errors canīe fixed by examing the problematic command, reading the descriptive error message, and making the appropriate changes.įor additional information about a given command, place the cursor in the element that caused the error and press the F1 key to open the reference topic for the element. The Inquisit editor will jump to the location of the attribute and element in the script where the problem lies. Inquisit will report any script errors detected during the parse phase in the Error window at the bottom of the screen.Įach error reports the specific element and attribute where the error occured, along with a descriptive message. Links to media files or included scripts that it can not locate or load, or file access errors. May detect a variety of errors, including malformed syntax, references to elements that have not been defined, The Validate Script command, or by running the entire script or a particular element.
The parse phase can be triggered by selecting Missing quotation marks, or missing close tags.Ī deeper level of error detection happens when the script is parsed. The syntax colorization within the Inquisit editor can be helpful for detecting some problems, such as misspelled commands,
How to Debug a Script How to Debug a Script Fixing Script Errors