blob: 8d7a9ed7d0706ed9c1261ce0a5c3369f2a8c856a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// |jit-test| error:Error
// Binary: cache/js-dbg-64-48e43edc8834-linux
// Flags:
//
function f() {
frame = dbg.getNewestFrame();
}
var g = newGlobal();
g.f = function (a, b) { return a + "/" + this . f( ) ; };
var dbg = Debugger(g);
dbg.onDebuggerStatement = function (frame) {
var f = frame.eval("f").return;
assertEq(f.call(null, "a", "b").return, "a/b");
};
g.eval("debugger;");
|