Searched refs:exec_state (Results 1 - 25 of 77) sorted by relevance

1234

/external/v8/test/mjsunit/
H A Ddebug-continue.js47 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 Ddebug-evaluate-recursive.js47 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 Ddebug-evaluate-with-context.js34 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 Ddebug-evaluate-with.js36 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 Ddebug-scopes.js45 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 Ddebug-backtrace-text.js73 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 Ddebug-evaluate-locals.js107 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 Ddebug-constructor.js34 function listener(event, exec_state, event_data, data) {
37 call_graph += exec_state.frame().func().name();
38 exec_state.prepareStep();
H A Ddebug-step-stub-callfunction.js34 function listener(event, exec_state, event_data, data) {
38 if (exec_state.frameCount() > 1) {
39 exec_state.prepareStep(Debug.StepAction.StepIn);
H A Ddebug-stepin-constructor.js34 function listener(event, exec_state, event_data, data) {
38 if (exec_state.frameCount() > 1) {
39 exec_state.prepareStep(Debug.StepAction.StepIn);
H A Ddebug-stepnext-do-while.js35 function listener(event, exec_state, event_data, data) {
50 if (exec_state.frameCount() > 1) {
51 exec_state.prepareStep(Debug.StepAction.StepNext);
H A Ddebug-suspend.js48 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 Ddebug-version.js47 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 Ddebug-return-value.js71 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 Ddebug-handle.js46 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 Ddebug-break-inline.js45 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 Ddebug-step.js38 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 Ddebug-blockscopes.js48 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 Ddebug-evaluate-blockscopes.js55 function listener(event, exec_state, event_data, data) {
57 result = exec_state.frame().evaluate("i").value();
/external/v8/test/mjsunit/regress/
H A Dregress-1170187.js49 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 Dregress-109195.js31 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 Dregress-269.js32 function listener(event, exec_state, event_data, data) {
34 exec_state.prepareStep(Debug.StepAction.StepIn);
H A Dregress-crbug-107996.js37 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 Dregress-1586.js49 function listener(event, exec_state, event_data, data) {
51 result = exec_state.frame().evaluate("i").value();
H A Dregress-1639-2.js41 function listener(event, exec_state, event_data, data) {
58 sendCommand(exec_state, {
69 sendCommand(exec_state, {

Completed in 168 milliseconds

1234