Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: test/debugger/debug/debug-materialized.js

Issue 2491543002: [debug-wrapper] Conditional breaks, locals, evaluate, scopes (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --allow-natives-syntax --expose-debug-as debug
6 5
7 function dbg(x) { 6 function dbg(x) {
8 debugger; 7 debugger;
9 } 8 }
10 9
11 function foo() { 10 function foo() {
12 arguments[0]; 11 arguments[0];
13 dbg(); 12 dbg();
14 } 13 }
15 14
(...skipping 16 matching lines...) Expand all
32 for (var i = 0; i < exec_state.frameCount(); i++) { 31 for (var i = 0; i < exec_state.frameCount(); i++) {
33 var f = exec_state.frame(i); 32 var f = exec_state.frame(i);
34 for (var j = 0; j < f.localCount(); j++) { 33 for (var j = 0; j < f.localCount(); j++) {
35 print("'" + f.localName(j) + "' = " + f.localValue(j).value()); 34 print("'" + f.localName(j) + "' = " + f.localValue(j).value());
36 } 35 }
37 } 36 }
38 }); 37 });
39 38
40 foo(1); 39 foo(1);
41 bar(1); 40 bar(1);
OLDNEW
« no previous file with comments | « test/debugger/debug/debug-evaluate-with.js ('k') | test/debugger/debug/ignition/debug-break-mixed-stack.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698