Searched refs:Debug (Results 1 - 25 of 171) sorted by relevance

1234567

/external/v8/test/mjsunit/regress/
H A Dregress-1039610.js28 // Make sure that the Debug object does not return to the global object
29 assertTrue(typeof(Debug) === 'undefined')
H A Dregress-269.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
33 if (event == Debug.DebugEvent.Break) {
34 exec_state.prepareStep(Debug.StepAction.StepIn);
39 Debug.setListener(listener);
H A Dregress-998565.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
40 Debug.setListener(listener);
47 Debug.setBreakPoint(f, 0, 0);
/external/v8/test/mjsunit/
H A Dfunction-source.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
35 assertEquals(Debug.scriptSource(f), Debug.scriptSource(h));
42 assertEquals(Debug.scriptSource(f), Debug.scriptSource(h));
47 assertEquals(Debug.scriptSource(f), Debug.scriptSource(g));
H A Ddebug-breakpoints.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
38 bp = Debug.setBreakPoint(f, 0, 0);
39 assertEquals("() {[B0]a=1;b=2}", Debug.showBreakPoints(f));
40 Debug.clearBreakPoint(bp);
41 assertEquals("() {a=1;b=2}", Debug.showBreakPoints(f));
42 bp1 = Debug.setBreakPoint(f, 0, 8);
43 assertEquals("() {a=1;[B0]b=2}", Debug.showBreakPoints(f));
44 bp2 = Debug
[all...]
H A Ddebug-script-breakpoints.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
33 var sbp = Debug.setScriptBreakPointByName("1", 2, 3);
34 assertEquals(1, Debug.scriptBreakPoints().length);
35 assertEquals("1", Debug.scriptBreakPoints()[0].script_name());
36 assertEquals(2, Debug.scriptBreakPoints()[0].line());
37 assertEquals(3, Debug.scriptBreakPoints()[0].column());
38 Debug.clearBreakPoint(sbp);
39 assertEquals(0, Debug
[all...]
H A Ddebug-enable-disable-breakpoints.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
36 if (event == Debug.DebugEvent.Break) {
42 Debug.setListener(listener);
52 bp1 = Debug.setBreakPoint(f);
57 Debug.disableBreakPoint(bp1);
62 Debug.enableBreakPoint(bp1);
67 bp2 = Debug.setBreakPoint(f);
72 Debug
[all...]
H A Ddebug-constructor.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
35 if (event == Debug.DebugEvent.Break)
43 Debug.setListener(listener);
64 Debug.setBreakPoint(a, 1);
67 Debug.clearStepping(); // Clear stepping as the listener leaves it on.
71 Debug.setBreakPoint(b, 1);
74 Debug.clearStepping(); // Clear stepping as the listener leaves it on.
78 Debug
[all...]
H A Ddebug-conditional-breakpoints.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
36 if (event == Debug.DebugEvent.Break) {
42 Debug.setListener(listener);
53 bp = Debug.setBreakPoint(f, 0, 0, '{{{');
56 assertEquals(0, Debug.findBreakPoint(bp, false).hit_count());
57 Debug.clearBreakPoint(bp);
61 bp = Debug.setBreakPoint(f, 0, 0, 'false');
64 assertEquals(0, Debug
[all...]
H A Ddebug-event-listener.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
35 if (event == Debug.DebugEvent.Break ||
36 event == Debug.DebugEvent.Exception)
45 Debug.setListener(listener);
47 Debug.setBreakOnException();
57 assertTrue(lastDebugEvent.event == Debug.DebugEvent.Exception);
60 Debug.clearBreakOnException();
68 Debug
[all...]
H A Ddebug-ignore-breakpoints.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
36 if (event == Debug.DebugEvent.Break) {
42 Debug.setListener(listener);
52 bp1 = Debug.setBreakPoint(f);
55 Debug.changeBreakPointIgnoreCount(bp1, 1);
62 bp2 = Debug.setBreakPoint(f);
67 Debug.changeBreakPointIgnoreCount(bp1, 2);
68 Debug
[all...]
H A Ddebug-script.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
39 var scripts = Debug.scripts();
41 if (scripts[i].type == Debug.ScriptType.Native) {
45 } else if (scripts[i].type == Debug.ScriptType.Extension) {
47 } else if (scripts[i].type == Debug.ScriptType.Normal) {
64 var math_script = Debug.findScript('native math.js');
66 assertEquals(Debug.ScriptType.Native, math_script.type);
69 var date_delay_script = Debug
[all...]
H A Ddebug-step.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
39 if (event == Debug.DebugEvent.Break) {
41 exec_state.prepareStep(Debug.StepAction.StepIn, 1000);
47 Debug.clearBreakPoint(bp2);
54 Debug.setListener(listener);
64 bp1 = Debug.setBreakPoint(f, 1);
77 bp2 = Debug.setBreakPoint(f, 2);
82 Debug
[all...]
H A Ddebug-multiple-breakpoints.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
36 if (event == Debug.DebugEvent.Break) {
42 Debug.setListener(listener);
56 bp1 = Debug.setBreakPoint(f);
61 bp2 = Debug.setBreakPoint(f);
66 Debug.clearBreakPoint(bp1);
71 Debug.clearBreakPoint(bp2);
78 bp1 = Debug
[all...]
H A Ddebug-step-stub-callfunction.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
35 if (event == Debug.DebugEvent.Break) {
39 exec_state.prepareStep(Debug.StepAction.StepIn);
45 Debug.setListener(listener);
87 Debug.setListener(null);
H A Ddebug-stepin-constructor.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
35 if (event == Debug.DebugEvent.Break) {
39 exec_state.prepareStep(Debug.StepAction.StepIn);
48 Debug.setListener(listener);
78 Debug.setListener(null);
H A Ddebug-stepnext-do-while.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
37 if (event == Debug.DebugEvent.Break) {
51 exec_state.prepareStep(Debug.StepAction.StepNext);
61 Debug.setListener(listener);
79 Debug.setListener(null);
H A Ddebug-compile-event-newfunction.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
36 if (event == Debug.DebugEvent.AfterCompile) {
37 assertEquals(Debug.ScriptCompilationType.Eval,
61 Debug.setListener(listener);
68 Debug.setListener(null);
H A Ddebug-stepin-builtin.js30 // Get the Debug object exposed from the debug context global object.
31 Debug = debug.Debug
43 if (event == Debug.DebugEvent.Break) {
45 exec_state.prepareStep(Debug.StepAction.StepIn, 2);
60 Debug.setListener(listener);
78 Debug.setListener(null);
H A Ddebug-stepout-to-builtin.js30 // Get the Debug object exposed from the debug context global object.
31 Debug = debug.Debug
43 if (event == Debug.DebugEvent.Break) {
45 exec_state.prepareStep(Debug.StepAction.StepOut, 2);
60 Debug.setListener(listener);
84 Debug.setListener(null);
H A Ddebug-clearbreakpointgroup.js29 // Get the Debug object exposed from the debug context global object.
30 var Debug = debug.Debug variable
61 if (event == Debug.DebugEvent.Break) {
70 } else if (event == Debug.DebugEvent.AfterCompile) {
81 Debug.setListener(listener);
92 var bp1 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId1);
93 var bp2 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId2);
94 var bp3 = Debug.setScriptBreakPointById(scriptId, 1, null, null, null);
95 var bp4 = Debug
[all...]
H A Ddebug-mirror-cache.js40 // Get the Debug object exposed from the debug context global object.
41 Debug = debug.Debug
49 if (event == Debug.DebugEvent.Break)
76 Debug.setListener(listener);
H A Ddebug-stepin-call-function-stub.js29 // Get the Debug object exposed from the debug context global object.
30 Debug = debug.Debug
44 if (event == Debug.DebugEvent.Break) {
47 exec_state.prepareStep(Debug.StepAction.StepIn, step_in_count);
62 Debug.setListener(listener);
91 Debug.setBreakPoint(testFunction, 1, 0);
107 Debug.setBreakPoint(testFunction2, 2, 0);
115 Debug.setListener(null);
/external/v8/src/mips/
H A Ddebug-mips.cc40 return Debug::IsDebugBreakAtReturn(rinfo());
56 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) {
67 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
72 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
77 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
82 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
87 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
92 void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
97 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
102 void Debug
[all...]
/external/v8/src/ia32/
H A Ddebug-ia32.cc40 return Debug::IsDebugBreakAtReturn(rinfo());
50 rinfo()->PatchCodeWithCall(Debug::debug_break_return()->entry(),
64 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) {
125 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
135 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
146 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
155 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
166 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
176 void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
188 void Debug
[all...]

Completed in 186 milliseconds

1234567