Strange thing started happening, I can’t save some apps while in debug mode. It returns the following error:
Cannot Save Document
script compilation or run-time error
(errOSAScriptError: -1753)
As soon as I switch out of debug it saves fine. It isn’t happening with all apps. The only thing I’m noticing with the apps that are erring is that they are using the “Dialog Toolkit Plus” library. Could this be causing the compile error in debug mode?
FYI, I opened the app, compiled it with no error, saved it in debugging mode, switched back and forth between debugging and normal, saving in between sometimes, and had no errors at all.
→ Mac OS: 14.3.1 (23D60)
→ Script Debugger 8.0.7 (8A75)
→ Dialog Toolkit Plus 1.1.2
Just to expand on this, AppleScript caches script libraries at the app level, not the script level. So if you previously opened a script that loaded a version of Dialog Toolkit Plus before version 1.1.2, then scripts that ask for it will not compile.
Quit and relaunch Script Debugger, then try one of the problematic scripts again.
I gave that a try and still the same issue. I don’t think we’ve used any version other than 1.1.2. My specs:
→ Mac OS: 14.3.1 (23D60)
→ Script Debugger 8.0.6 (8A69)
→ Dialog Toolkit Plus 1.1.2