Home
last modified time | relevance | path

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

12

/external/v8/test/mjsunit/
Ddebug-scopes.js46 function listener(event, exec_state, event_data, data) { argument
51 listener_delegate(exec_state)
81 function CheckScopeChain(scopes, exec_state) { argument
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) { argument
124 var scope = exec_state.frame().scope(number)
158 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
190 listener_delegate = function(exec_state) { argument
[all …]
Ddebug-evaluate-recursive.js47 function testRequest(exec_state, arguments, success, result) { argument
49 var dcp = exec_state.debugCommandProcessor(false);
70 function listener(event, exec_state, event_data, data) { argument
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, '{"expression":"g()"}', true, 2);
[all …]
Ddebug-continue.js47 function testArguments(exec_state, arguments, success) { argument
49 var dcp = exec_state.debugCommandProcessor(false);
68 function listener(event, exec_state, event_data, data) { argument
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, '{"stepaction":"out"}', true);
[all …]
Ddebug-handle.js46 function evaluateRequest(exec_state, arguments) { argument
48 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
69 function lookupRequest(exec_state, arguments, success) { argument
71 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
96 function listener(event, exec_state, event_data, data) { argument
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, '{"expression":"p"}');
[all …]
Ddebug-evaluate-locals.js67 function listener(event, exec_state, event_data, data) { argument
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.frame(2).evaluate('b').value());
Ddebug-backtrace-text.js73 function listener(event, exec_state, event_data, data) { argument
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).invoc…
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());
Ddebug-evaluate-with.js36 function listener(event, exec_state, event_data, data) { argument
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());
Ddebug-version.js47 function testArguments(exec_state) { argument
49 var dcp = exec_state.debugCommandProcessor(true);
67 function listener(event, exec_state, event_data, data) { argument
72 testArguments(exec_state);
Ddebug-suspend.js48 function testArguments(exec_state) { argument
50 var dcp = exec_state.debugCommandProcessor(true);
73 function listener(event, exec_state, event_data, data) { argument
78 testArguments(exec_state);
Ddebug-evaluate-arguments.js53 function listener(event, exec_state, event_data, data) { argument
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]);
Ddebug-stepin-constructor.js34 function listener(event, exec_state, event_data, data) { argument
38 if (exec_state.frameCount() > 1) {
39 exec_state.prepareStep(Debug.StepAction.StepIn);
Ddebug-step-stub-callfunction.js34 function listener(event, exec_state, event_data, data) { argument
38 if (exec_state.frameCount() > 1) {
39 exec_state.prepareStep(Debug.StepAction.StepIn);
Ddebug-constructor.js34 function listener(event, exec_state, event_data, data) { argument
37 call_graph += exec_state.frame().func().name();
38 exec_state.prepareStep();
Ddebug-stepnext-do-while.js35 function listener(event, exec_state, event_data, data) { argument
50 if (exec_state.frameCount() > 1) {
51 exec_state.prepareStep(Debug.StepAction.StepNext);
Ddebug-step.js38 function listener(event, exec_state, event_data, data) { argument
41 exec_state.prepareStep(Debug.StepAction.StepIn, 1000);
44 result = exec_state.frame().evaluate("i").value();
Ddebug-stepout-recursive-function.js37 function listener(event, exec_state, event_data, data) { argument
42 if (exec_state.frameCount() > 1) {
43 exec_state.prepareStep(Debug.StepAction.StepOut, step_out_count);
Ddebug-stepin-builtin.js41 function listener(event, exec_state, event_data, data) { argument
45 exec_state.prepareStep(Debug.StepAction.StepIn, 2);
Ddebug-mirror-cache.js47 function listener(event, exec_state, event_data, data) { argument
58 var dcp = exec_state.debugCommandProcessor(false);
Ddebug-stepout-to-builtin.js41 function listener(event, exec_state, event_data, data) { argument
45 exec_state.prepareStep(Debug.StepAction.StepOut, 2);
Ddebug-evaluate-bool-constructor.js35 function listener(event, exec_state, event_data, data) { argument
39 var dcp = exec_state.debugCommandProcessor();
Ddebug-event-listener.js34 function listener(event, exec_state, event_data, data) { argument
39 lastDebugEvent.frameFuncName = exec_state.frame().func().name();
/external/v8/test/mjsunit/regress/
Dregress-1170187.js49 function listener(event, exec_state, event_data, data) { argument
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();
Dregress-269.js32 function listener(event, exec_state, event_data, data) { argument
34 exec_state.prepareStep(Debug.StepAction.StepIn);
/external/v8/src/
Ddebug-debugger.js178 BreakPoint.prototype.isTriggered = function(exec_state) { argument
186 var mirror = exec_state.frame(0).evaluate(this.condition());
803 function MakeBreakEvent(exec_state, break_points_hit) { argument
804 return new BreakEvent(exec_state, break_points_hit);
808 function BreakEvent(exec_state, break_points_hit) { argument
809 this.exec_state_ = exec_state;
887 function MakeExceptionEvent(exec_state, exception, uncaught) { argument
888 return new ExceptionEvent(exec_state, exception, uncaught);
892 function ExceptionEvent(exec_state, exception, uncaught) { argument
893 this.exec_state_ = exec_state;
[all …]
Ddebug.cc1791 Handle<Object> Debugger::MakeBreakEvent(Handle<Object> exec_state, in MakeBreakEvent() argument
1796 Object** argv[argc] = { exec_state.location(), in MakeBreakEvent()
1805 Handle<Object> Debugger::MakeExceptionEvent(Handle<Object> exec_state, in MakeExceptionEvent() argument
1811 Object** argv[argc] = { exec_state.location(), in MakeExceptionEvent()
1834 Handle<Object> exec_state = MakeExecutionState(caught_exception); in MakeCompileEvent() local
1837 Object** argv[argc] = { exec_state.location(), in MakeCompileEvent()
1852 Handle<Object> exec_state = MakeExecutionState(caught_exception); in MakeScriptCollectedEvent() local
1855 Object** argv[argc] = { exec_state.location(), id_object.location() }; in MakeScriptCollectedEvent()
1889 Handle<Object> exec_state = MakeExecutionState(&caught_exception); in OnException() local
1892 event_data = MakeExceptionEvent(exec_state, exception, uncaught, in OnException()
[all …]

12