michael@0: // |jit-test| debug michael@0: setDebug(true); michael@0: x = "notset"; michael@0: function main() { michael@0: /* JSOP_STOP in main. */ michael@0: untrap(main, 24); michael@0: x = "success"; michael@0: } michael@0: function failure() { x = "failure"; } michael@0: michael@0: /* JSOP_STOP in main. */ michael@0: trap(main, 24, "failure()"); michael@0: main(); michael@0: assertEq(x, "success");