Debug run the script in Automatic Mouse and Keyboard
Now you can debug run the script in Automatic Mouse and Keyboard. You need to make sure you have already upgraded Automatic Mouse and Keyboard to the latest version 5.4.2.6.
Click the Menu “Tools“, then click “Debug Run“.
Set the Debug Options, then click “OK“.
In the debug window, you can debug run the script step by step with Step Into and Step Over. The default Step Into hotkey is F7, and the default Step Over hotkey is F8. Press the Step Into/Step Over hotkey when the debugger paused the script, you can run the script step by step. Move mouse over a variable, you can see the value of the variable.
With this step by step run feature, you can easily find the bug of your script and then fix it.