summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1242798.js
blob: 8e4b74b22898647a2ce1e491e700fc83fc5d12bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

var g = newGlobal();
var dbg = new Debugger(g);
g.eval("" + function f(c) {
  if (c == 0)
    return;
  if (c == 2)
    debugger;
  f(c-1);
  for (var i = 0; i < 100; i++)
    Debugger += newGlobal('#15: myObj.parseFloat !== parseFloat');
});
dbg.onDebuggerStatement = function (frame) {};
g.eval("f(2)");