/external/v8/test/mjsunit/ |
H A D | debug-continue.js | 47 function testArguments(exec_state, arguments, success) { 49 var dcp = exec_state.debugCommandProcessor(false); 68 function listener(event, exec_state, event_data, data) { 73 testArguments(exec_state, void 0, true); 76 testArguments(exec_state, '{"stepaction":"maybe"}', false); 77 testArguments(exec_state, '{"stepcount":-1}', false); 80 testArguments(exec_state, '{"stepaction":"in"}', true); 81 testArguments(exec_state, '{"stepaction":"min"}', true); 82 testArguments(exec_state, '{"stepaction":"next"}', true); 83 testArguments(exec_state, '{"stepactio [all...] |
H A D | debug-evaluate-recursive.js | 47 function testRequest(exec_state, arguments, success, result) { 49 var dcp = exec_state.debugCommandProcessor(false); 70 function listener(event, exec_state, event_data, data) { 75 assertEquals(1, exec_state.evaluateGlobal('f()', true).value()); 76 assertEquals(2, exec_state.evaluateGlobal('g()', true).value()); 77 assertEquals(1, exec_state.frame(0).evaluate('f()', true).value()); 78 assertEquals(2, exec_state.frame(0).evaluate('g()', true).value()); 82 testRequest(exec_state, '{"expression":"f()"}', true, 1); 83 testRequest(exec_state, '{"expression":"f()","frame":0}', true, 1); 84 testRequest(exec_state, '{"expressio [all...] |
H A D | debug-evaluate-with-context.js | 34 function listener(event, exec_state, event_data, data) { 42 var result = evaluate_callback.in_top_frame(exec_state, local_expression, context); 46 var result = evaluate_callback.in_top_frame(exec_state, local_expression, context2); 51 var result = evaluate_callback.in_top_frame(exec_state, local_expression2, void 0); 56 var result = evaluate_callback.globally(exec_state, global_expression, context); 62 var result = evaluate_callback.globally(exec_state, global_expression2, context_with_undefined); 66 var result = evaluate_callback.globally(exec_state, global_expression2, void 0); 71 var result = evaluate_callback.globally(exec_state, global_expression3, void 0); 102 in_top_frame: function(exec_state, expression, additional_context) { 103 return exec_state [all...] |
H A D | debug-evaluate-with.js | 36 function listener(event, exec_state, event_data, data) { 43 assertEquals(2, exec_state.frame(0).evaluate('a').value()); 44 assertEquals(2, exec_state.frame(0).evaluate('b').value()); 47 assertEquals(3, exec_state.frame(0).evaluate('a').value()); 48 assertEquals(1, exec_state.frame(0).evaluate('b').value()); 51 assertEquals('local', exec_state.frame(0).evaluate('foo').value());
|
H A D | debug-scopes.js | 45 function listener(event, exec_state, event_data, data) { 50 listener_delegate(exec_state); 80 function CheckScopeChain(scopes, exec_state) { 81 assertEquals(scopes.length, exec_state.frame().scopeCount()); 83 var scope = exec_state.frame().scope(i); 96 var dcp = exec_state.debugCommandProcessor("unspecified_running_state"); 124 function CheckScopeContent(content, number, exec_state) { 125 var scope = exec_state.frame().scope(number); 163 var dcp = exec_state.debugCommandProcessor("unspecified_running_state"); 195 listener_delegate = function(exec_state) { [all...] |
H A D | debug-backtrace-text.js | 73 function listener(event, exec_state, event_data, data) { 83 assertEquals("#<Point>.distanceTo(p=#<Point>)", exec_state.frame(0).invocationText()); 84 assertEquals("#<Point>.distanceTo(p=#<Point>)", exec_state.frame(1).invocationText()); 85 assertEquals("#<Array>[2](aka distance)(p=#<Point>, q=#<Point>)", exec_state.frame(2).invocationText()); 86 assertEquals("[anonymous]()", exec_state.frame(3).invocationText()); 93 assertEquals("new Point(x=0, y=0)", exec_state.frame(0).invocationText()); 94 assertEquals("createPoint(x=0, y=0)", exec_state.frame(1).invocationText()); 95 assertEquals("[anonymous]()", exec_state.frame(2).invocationText());
|
H A D | debug-evaluate-locals.js | 107 function listener(event, exec_state, event_data, data) { 111 checkFrame0(exec_state.frame(0)); 112 checkFrame1(exec_state.frame(1)); 113 checkFrame2(exec_state.frame(2)); 116 assertEquals(1, exec_state.frame(0).evaluate('a').value()); 117 assertEquals(2, exec_state.frame(0).evaluate('b').value()); 118 assertEquals(3, exec_state.frame(1).evaluate('a').value()); 119 assertEquals(4, exec_state.frame(1).evaluate('b').value()); 120 assertEquals(5, exec_state.frame(2).evaluate('a').value()); 121 assertEquals(6, exec_state [all...] |
H A D | debug-constructor.js | 34 function listener(event, exec_state, event_data, data) { 37 call_graph += exec_state.frame().func().name(); 38 exec_state.prepareStep();
|
H A D | debug-step-stub-callfunction.js | 34 function listener(event, exec_state, event_data, data) { 38 if (exec_state.frameCount() > 1) { 39 exec_state.prepareStep(Debug.StepAction.StepIn);
|
H A D | debug-stepin-constructor.js | 34 function listener(event, exec_state, event_data, data) { 38 if (exec_state.frameCount() > 1) { 39 exec_state.prepareStep(Debug.StepAction.StepIn);
|
H A D | debug-stepnext-do-while.js | 35 function listener(event, exec_state, event_data, data) { 50 if (exec_state.frameCount() > 1) { 51 exec_state.prepareStep(Debug.StepAction.StepNext);
|
H A D | debug-suspend.js | 48 function testArguments(exec_state) { 50 var dcp = exec_state.debugCommandProcessor(true); 73 function listener(event, exec_state, event_data, data) { 78 testArguments(exec_state);
|
H A D | debug-version.js | 47 function testArguments(exec_state) { 49 var dcp = exec_state.debugCommandProcessor(true); 67 function listener(event, exec_state, event_data, data) { 72 testArguments(exec_state);
|
H A D | debug-return-value.js | 71 function listener(event, exec_state, event_data, data) { 77 assertFalse(exec_state.frame(0).isAtReturn()) 81 debugger_source_position = exec_state.frame(0).sourcePosition(); 86 exec_state.frame(0).sourcePosition()); 92 exec_state.frame(0).sourcePosition()); 95 exec_state.frame(0).sourcePosition()); 101 exec_state.prepareStep(Debug.StepAction.StepIn, 1); 105 exec_state.frame(0).sourcePosition()); 108 assertTrue(exec_state.frame(0).isAtReturn()) 110 exec_state [all...] |
H A D | debug-handle.js | 46 function evaluateRequest(exec_state, arguments) { 48 var dcp = exec_state.debugCommandProcessor("unspecified_running_state"); 69 function lookupRequest(exec_state, arguments, success) { 71 var dcp = exec_state.debugCommandProcessor("unspecified_running_state"); 96 function listener(event, exec_state, event_data, data) { 100 lookupRequest(exec_state, void 0, false); 101 lookupRequest(exec_state, '{"handles":["a"]}', false); 102 lookupRequest(exec_state, '{"handles":[-1]}', false); 105 var handle_o = evaluateRequest(exec_state, '{"expression":"o"}'); 106 var handle_p = evaluateRequest(exec_state, '{"expressio [all...] |
H A D | debug-break-inline.js | 45 function listener(event, exec_state, event_data, data) { 51 for (var i = 0; i < exec_state.frameCount(); i++) { 52 var frame = exec_state.frame(i);
|
H A D | debug-step.js | 38 function listener(event, exec_state, event_data, data) { 41 exec_state.prepareStep(Debug.StepAction.StepIn, 1000); 44 result = exec_state.frame().evaluate("i").value();
|
/external/v8/test/mjsunit/harmony/ |
H A D | debug-blockscopes.js | 48 function listener(event, exec_state, event_data, data) { 53 listener_delegate(exec_state); 84 function CheckScopeChain(scopes, exec_state) { 85 assertEquals(scopes.length, exec_state.frame().scopeCount()); 87 var scope = exec_state.frame().scope(i); 100 var dcp = exec_state.debugCommandProcessor("unspecified_running_state"); 127 function CheckScopeContent(content, number, exec_state) { 128 var scope = exec_state.frame().scope(number); 173 var dcp = exec_state.debugCommandProcessor("unspecified_running_state"); 207 listener_delegate = function(exec_state) { [all...] |
H A D | debug-evaluate-blockscopes.js | 55 function listener(event, exec_state, event_data, data) { 57 result = exec_state.frame().evaluate("i").value();
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-1170187.js | 49 function listener(event, exec_state, event_data, data) { 52 var local0Name = exec_state.frame(0).localName(0); 53 var local1Name = exec_state.frame(0).localName(1); 54 var local2Name = exec_state.frame(0).localName(2); 58 var local0Value = exec_state.frame(0).localValue(0).value(); 59 var local1Value = exec_state.frame(0).localValue(1).value(); 60 var local2Value = exec_state.frame(0).localValue(2).value();
|
H A D | regress-109195.js | 31 function listener(event, exec_state, event_data, data) { 32 for (var i = 0, n = exec_state.frameCount(); i < n; i++) { 33 exec_state.frame().scopeCount(i); 35 exec_state.prepareStep(Debug.StepAction.Continue, 1);
|
H A D | regress-269.js | 32 function listener(event, exec_state, event_data, data) { 34 exec_state.prepareStep(Debug.StepAction.StepIn);
|
H A D | regress-crbug-107996.js | 37 function listener(event, exec_state, event_data, data) { 39 for (var i = 0; i < exec_state.frameCount(); i++) { 40 var frame = exec_state.frame(i);
|
H A D | regress-1586.js | 49 function listener(event, exec_state, event_data, data) { 51 result = exec_state.frame().evaluate("i").value();
|
H A D | regress-1639-2.js | 41 function listener(event, exec_state, event_data, data) { 58 sendCommand(exec_state, { 69 sendCommand(exec_state, {
|