Create any trigger, then selected AppleScript, then JXA. The app froze. I didn’t enter anything. You have to force-quit first, then reopen it before you can start using it.
I think there is a relatively new issue with the system script view, where it seems to require a mutable string but the interface says it wants a non-mutable one. I have added some extra checks in 5.689 that should prevent this. (uploading)
Strange, I tried it on my macOS 15 and 26 machines but it is working fine here.
Can you take a sample of that process via activity monitor or via this terminal command?
That sample seems to indicate some recursion caused by the action assigned to a "Move Mouse To Top Right Corner" trigger in the "Automations, Named & Other Triggers" section. Do you have such a trigger configured?
By the way, although it crashes during creation, after restarting, as long as it doesn't crash again, it runs fine from then on.
It may also crash during editing.
I have a global "Specific App Did Activate" trigger that might be the factor. It's used to switch the input method to abc.
// Unfortunately, I deleted it and the crash can still be reproduced.
Now I know the more specific triggers:
First scenario: when switching to JXA, the editor area is blank—there’s no “#Insert script code here” placeholder. The text only appears after you move the mouse into the area. If you click too quickly before it shows, BTT freezes and you have to force-quit the app.
Second scenario: as soon as you delete a single character or a whole block of text, BTT sometimes crashes outright instead of freezing.