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

Side by Side Diff: test/debugger/debug/debug-multiple-var-decl.js

Issue 2497973002: [debug-wrapper] Further extend the debug wrapper (Closed)
Patch Set: Address comments 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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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: --expose-debug-as debug
6 5
7 // Test we break at every assignment in a var-statement with multiple 6 // Test we break at every assignment in a var-statement with multiple
8 // variable declarations. 7 // variable declarations.
9 8
10 var exception = null; 9 var exception = null;
11 var log = [] 10 var log = []
12 11
13 function f() { 12 function f() {
14 var l1 = 1, // l 13 var l1 = 1, // l
15 l2, // m 14 l2, // m
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 "a0", // debugger statement 64 "a0", // debugger statement
66 "b9","c9", // global var 65 "b9","c9", // global var
67 "e9","f4","g9", // global let 66 "e9","f4","g9", // global let
68 "h11","i11","j11", // global const 67 "h11","i11","j11", // global const
69 "l11","n11", // local var 68 "l11","n11", // local var
70 "o6","p11","q11", // local let 69 "o6","p11","q11", // local let
71 "r13","s13","t13", // local const 70 "r13","s13","t13", // local const
72 "u2","v0", // return 71 "u2","v0", // return
73 ]; 72 ];
74 assertEquals(expected, log); 73 assertEquals(expected, log);
OLDNEW
« no previous file with comments | « test/debugger/debug/debug-enable-disable-breakpoints.js ('k') | test/debugger/debug/debug-scripts-throw.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698