Home
last modified time | relevance | path

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

123456

/external/v8/test/mjsunit/
Ddebug-scopes.js45 function listener(event, exec_state, event_data, data) { argument
50 listener_delegate(exec_state);
87 function CheckFastAllScopes(scopes, exec_state) argument
89 var fast_all_scopes = exec_state.frame().allScopes(true);
101 function CheckScopeChain(scopes, exec_state) { argument
102 var all_scopes = exec_state.frame().allScopes();
103 assertEquals(scopes.length, exec_state.frame().scopeCount());
106 var scope = exec_state.frame().scope(i);
118 CheckFastAllScopes(scopes, exec_state);
121 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
[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-evaluate-with-context.js34 function listener(event, exec_state, event_data, data) { argument
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) { argument
103 return exec_state.frame(0).evaluate(expression, void 0, additional_context).value();
[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-evaluate-closure.js34 function listener(event, exec_state, event_data, data) { argument
37 assertEquals("goo", exec_state.frame(0).evaluate("goo").value());
38 exec_state.frame(0).evaluate("goo = 'goo foo'");
39 assertEquals("bar return", exec_state.frame(0).evaluate("bar()").value());
40 assertEquals("inner bar", exec_state.frame(0).evaluate("inner").value());
41 assertEquals("outer bar", exec_state.frame(0).evaluate("outer").value());
42 assertEquals("baz inner", exec_state.frame(0).evaluate("baz").value());
43 assertEquals("baz outer", exec_state.frame(1).evaluate("baz").value());
44 exec_state.frame(0).evaluate("w = 'w foo'");
45 exec_state.frame(0).evaluate("inner = 'inner foo'");
[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.js109 function listener(event, exec_state, event_data, data) { argument
113 checkFrame0(exec_state.frame(0));
114 checkFrame1(exec_state.frame(1));
115 checkFrame2(exec_state.frame(2));
118 assertEquals(1, exec_state.frame(0).evaluate('a').value());
119 assertEquals(2, exec_state.frame(0).evaluate('b').value());
120 assertEquals(5, exec_state.frame(0).evaluate('eval').value());
121 assertEquals(3, exec_state.frame(1).evaluate('a').value());
122 assertEquals(4, exec_state.frame(1).evaluate('b').value());
124 typeof exec_state.frame(1).evaluate('eval').value());
[all …]
Ddebug-return-value.js71 function listener(event, exec_state, event_data, data) { argument
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.frame(0).returnValue().value());
[all …]
Dregress-3225.js12 function listener(event, exec_state, event_data, data) { argument
16 assertEquals(1, exec_state.frame(0).evaluate('a').value());
17 assertEquals(3, exec_state.frame(0).evaluate('b').value());
18 exec_state.frame(0).evaluate("a = 4").value();
21 assertEquals(4, exec_state.frame(0).evaluate('a').value());
22 assertEquals(3, exec_state.frame(0).evaluate('b').value());
23 exec_state.frame(0).evaluate("b = 5").value();
Ddebug-backtrace-text.js73 function listener(event, exec_state, event_data, data) { argument
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).invocationTe…
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-liveedit-restart-frame.js33 function FindCallFrame(exec_state, frame_code) { argument
36 return exec_state.frame(number);
38 for (var i = 0; i < exec_state.frameCount(); i++) {
39 var frame = exec_state.frame(i);
91 function DebuggerStatementHandler(exec_state) { argument
99 var frame = FindCallFrame(exec_state, change_code);
107 function listener(event, exec_state, event_data, data) { argument
113 DebuggerStatementHandler(exec_state);
Ddebug-evaluate-with.js38 function listener(event, exec_state, event_data, data) { argument
45 assertEquals(2, exec_state.frame(0).evaluate('a').value());
46 assertEquals(2, exec_state.frame(0).evaluate('b').value());
49 assertEquals(3, exec_state.frame(0).evaluate('a').value());
50 assertEquals(1, exec_state.frame(0).evaluate('b').value());
53 assertEquals('local', exec_state.frame(0).evaluate('foo').value());
Ddebug-receiver.js44 function listener(event, exec_state, event_data, data) { argument
49 listener_delegate(exec_state);
85 listener_delegate = function(exec_state) { argument
86 var receiver = exec_state.frame().receiver();
109 listener_delegate = function(exec_state) {
110 var receiver = exec_state.frame().receiver();
Ddebug-stepin-builtin-callback.js36 function array_listener(event, exec_state, event_data, data) { argument
40 exec_state.prepareStep(Debug.StepAction.StepIn, 2);
47 exec_state.prepareStep(Debug.StepAction.StepIn, 3);
123 function second_level_listener(event, exec_state, event_data, data) { argument
127 exec_state.prepareStep(Debug.StepAction.StepIn, 3);
136 exec_state.prepareStep(Debug.StepAction.StepIn, step);
Ddebug-stepout-scope-part6.js35 function listener(event, exec_state, event_data, data) { argument
38 var scope_count = exec_state.frame().scopeCount();
40 var scope = exec_state.frame().scope(i);
48 exec_state.prepareStep(Debug.StepAction.StepInMin, 1);
Ddebug-stepout-scope-part7.js35 function listener(event, exec_state, event_data, data) { argument
38 var scope_count = exec_state.frame().scopeCount();
40 var scope = exec_state.frame().scope(i);
48 exec_state.prepareStep(Debug.StepAction.StepInMin, 1);
/external/v8/test/mjsunit/harmony/
Ddebug-blockscopes.js47 function listener(event, exec_state, event_data, data) { argument
52 listener_delegate(exec_state);
83 function CheckScopeChain(scopes, exec_state) { argument
84 assertEquals(scopes.length, exec_state.frame().scopeCount());
86 var scope = exec_state.frame().scope(i);
99 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
126 function CheckScopeContent(content, number, exec_state) { argument
127 var scope = exec_state.frame().scope(number);
164 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
198 listener_delegate = function(exec_state) { argument
[all …]
/external/v8/test/mjsunit/es6/
Dgenerators-debug-scopes.js13 function listener(event, exec_state, event_data, data) { argument
17 handler(exec_state);
56 function CheckFastAllScopes(scopes, exec_state) { argument
57 var fast_all_scopes = exec_state.frame().allScopes(true);
68 function CheckScopeChain(scopes, exec_state) { argument
69 var all_scopes = exec_state.frame().allScopes();
70 assertEquals(scopes.length, exec_state.frame().scopeCount());
73 var scope = exec_state.frame().scope(i);
85 CheckFastAllScopes(scopes, exec_state);
88 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
[all …]
Ddebug-stepin-collections-foreach.js11 function listener(event, exec_state, event_data, data) { argument
15 exec_state.prepareStep(Debug.StepAction.StepIn, 2);
22 exec_state.prepareStep(Debug.StepAction.StepIn, 3);
73 function second_level_listener(event, exec_state, event_data, data) { argument
77 exec_state.prepareStep(Debug.StepAction.StepIn, 3);
86 exec_state.prepareStep(Debug.StepAction.StepIn, step);
/external/v8/test/mjsunit/regress/
Dregress-crbug-171715.js36 function check_v(expected, exec_state, frame_id) { argument
37 assertEquals(expected, exec_state.frame(frame_id).evaluate('v').value());
40 function listener(event, exec_state, event_data, data) { argument
45 check_v('inner0', exec_state, 0);
46 check_v('inner0', exec_state, 1);
47 check_v('outer', exec_state, 2);
49 exec_state.frame(0).evaluate('arguments').value());
51 check_v('inner1', exec_state, 0);
52 check_v('inner1', exec_state, 1);
53 check_v('outer', exec_state, 2);
[all …]
Dregress-1170187.js51 function listener(event, exec_state, event_data, data) { argument
54 var local0Name = exec_state.frame(0).localName(0);
55 var local1Name = exec_state.frame(0).localName(1);
56 var local2Name = exec_state.frame(0).localName(2);
60 var local0Value = exec_state.frame(0).localValue(0).value();
61 var local1Value = exec_state.frame(0).localValue(1).value();
62 var local2Value = exec_state.frame(0).localValue(2).value();
Dregress-frame-details-null-receiver.js33 function listener(event, exec_state, event_data, data) { argument
35 for (var i = 0; i < exec_state.frameCount(); i++) {
36 print(exec_state.frame(i).receiver());
37 print(exec_state.frame(i).func().name());
Dregress-109195.js31 function listener(event, exec_state, event_data, data) { argument
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);
/external/v8/test/mjsunit/bugs/harmony/
Ddebug-blockscopes.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);
97 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
124 function CheckScopeContent(content, number, exec_state) { argument
125 var scope = exec_state.frame().scope(number);
162 var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
206 listener_delegate = function(exec_state) { argument
[all …]
/external/valgrind/callgrind/
Dthreads.c34 static exec_state* exec_state_save(void);
35 static exec_state* exec_state_restore(void);
36 static exec_state* push_exec_state(int);
37 static exec_state* top_exec_state(void);
201 exec_state *es; in CLG_()
231 exec_state* es = top_exec_state(); in CLG_()
241 exec_state* es; in CLG_()
315 void CLG_(init_exec_state)(exec_state* es) in CLG_()
325 static exec_state* new_exec_state(Int sigNum) in new_exec_state()
327 exec_state* es; in new_exec_state()
[all …]

123456