blob: 0af0296c487e0f2a8d034e22523566080c7a1036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |jit-test| exitstatus: 3;
let debuggerRealm = newGlobal({newCompartment: true});
debuggerRealm.debuggee = this;
debuggerRealm.eval(`
let dbg = new Debugger(debuggee);
dbg.onDebuggerStatement = (frame) => null; // terminate the debuggee
`);
Atomics.add(new Int32Array(1), 0, {
valueOf() {
debugger;
}
});
|