Attempting to debug script with a Mail perform mail action with messages handler. The handler gets invoked - some tracer bullet say statements get executed but Script Debugger does not pause execution at the breakpoints next to the say statements. Change the arguments to the say statements and next test execution says the new argument, i.e. executing the same script I have open in Script Debugger.
It’s probably some simple config problem (or permissions config prob) that I’m not aware of as a newbie to Script Debugger, but I don’t see any FAQ or Troubleshooting articles covering this - please add one - or any preference settings that might relate. I’m also a bit surprised - I thought this would work out of the box. Script Debugger trial worked fine before with a run handler, but not this.
How are you invoking the perform mail action with messages handler? You’ll need some code in your script to invoke this handler with test data. There is no means of invoking this handler from the Mail application.
Here’s an example of how to invoke the handler from AppleScript: