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

12

/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-scopes.js46 function listener(event, exec_state, event_data, data) {
51 listener_delegate(exec_state)
81 function CheckScopeChain(scopes, exec_state) {
82 assertEquals(scopes.length, exec_state.frame().scopeCount());
84 var scope = exec_state.frame().scope(i);
95 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
123 function CheckScopeContent(content, number, exec_state) {
124 var scope = exec_state.frame().scope(number)
158 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
190 listener_delegate = function(exec_state) {
[all...]
H A Ddebug-backtrace-text.js73 function listener(event, exec_state, event_data, data) {
83 assertEquals("#<a Point>.distanceTo(p=#<a Point>)", exec_state.frame(0).invocationText());
84 assertEquals("#<a Point>.distanceTo(p=#<a Point>)", exec_state.frame(1).invocationText());
85 assertEquals("#<an Array>[2](aka distance)(p=#<a Point>, q=#<a 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-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());
H A Ddebug-evaluate-locals.js67 function listener(event, exec_state, event_data, data) {
72 var frame0 = exec_state.frame(0);
77 var frame1 = exec_state.frame(1);
83 var frame2 = exec_state.frame(2);
90 assertEquals(1, exec_state.frame(0).evaluate('a').value());
91 assertEquals(2, exec_state.frame(0).evaluate('b').value());
92 assertEquals(3, exec_state.frame(1).evaluate('a').value());
93 assertEquals(4, exec_state.frame(1).evaluate('b').value());
94 assertEquals(5, exec_state.frame(2).evaluate('a').value());
95 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-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-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();
H A Ddebug-mirror-cache.js47 function listener(event, exec_state, event_data, data) {
58 var dcp = exec_state.debugCommandProcessor(false);
H A Ddebug-evaluate-arguments.js53 function listener(event, exec_state, event_data, data) {
58 checkArguments(exec_state.frame(0), ['x', 'y'], [1]);
61 checkArguments(exec_state.frame(1), ['x', 'y'], [1, 2, 3]);
64 checkArguments(exec_state.frame(2), ['x', 'y', 'z'], [1, 2, 3]);
H A Ddebug-evaluate-bool-constructor.js35 function listener(event, exec_state, event_data, data) {
39 var dcp = exec_state.debugCommandProcessor();
H A Ddebug-event-listener.js34 function listener(event, exec_state, event_data, data) {
39 lastDebugEvent.frameFuncName = exec_state.frame().func().name();
H A Ddebug-stepin-builtin.js41 function listener(event, exec_state, event_data, data) {
45 exec_state.prepareStep(Debug.StepAction.StepIn, 2);
H A Ddebug-stepout-to-builtin.js41 function listener(event, exec_state, event_data, data) {
45 exec_state.prepareStep(Debug.StepAction.StepOut, 2);
H A Ddebug-stepout-recursive-function.js37 function listener(event, exec_state, event_data, data) {
42 if (exec_state.frameCount() > 1) {
43 exec_state.prepareStep(Debug.StepAction.StepOut, step_out_count);
/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-269.js32 function listener(event, exec_state, event_data, data) {
34 exec_state.prepareStep(Debug.StepAction.StepIn);
H A Dregress-998565.js34 function listener(event, exec_state, event_data, data) {
/external/v8/src/
H A Dshell.h40 v8::Handle<v8::Object> exec_state,

Completed in 185 milliseconds

12