Fixes crashes on SpiderMonkey when using the debugger