January 5, 201214 yr I'm experimenting with script triggers in FM11 advanced, and having issues with the OnObjectKeyStroke trigger and the debugger. Basically, I want to have the debugger window open so I can debug my scripts, but I don't want the debug window to interrupt me on every single keystroke. If i were using a different programming language, I'd leave the debugger off and insert a Debugger() command to open the debug window in the place I want it. Is there any way to do this in fm?
January 5, 201214 yr Author I figured out one way: in FM 11 advanced, close the debugger window, but set Tools/Debugging Control/Pause On Error to enabled. Then, in the script where you want the debugger to pause, you can intentionally trigger an error (for example, by performing a bogus Find that finds no records). Not perfect, but does the trick for my needs.
January 5, 201214 yr Hi xochi ... in FM 11 advanced, close the debugger window.... Your profile reflects that you're using version 9, but your post states that you're using version 11. Please update your profile to reflect the current FileMaker version you are using. You do this by clicking on your name at the top right-hand corner, and then selecting My Profile. You'll see a big buttons close to the top that says edit my profile, click on that and go down to the 2nd section FileMaker. TIA, Lee
Create an account or sign in to comment