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