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

Side by Side Diff: test/debugger/debug/es6/debug-step-destructuring-assignment.js

Issue 2480223002: [debugger] Migrate more debugger tests to inspector (Closed)
Patch Set: Fix status line 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: --expose-debug-as debug
6 5
7 var exception = null; 6 var exception = null;
8 var Debug = debug.Debug; 7 var Debug = debug.Debug;
9 var break_count = 0; 8 var break_count = 0;
10 9
11 function listener(event, exec_state, event_data, data) { 10 function listener(event, exec_state, event_data, data) {
12 if (event != Debug.DebugEvent.Break) return; 11 if (event != Debug.DebugEvent.Break) return;
13 try { 12 try {
14 var source = exec_state.frame(0).sourceLineText(); 13 var source = exec_state.frame(0).sourceLineText();
15 print(source); 14 print(source);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 assertEquals({a:1,b:2,c:3}, {a, b, c}); // B33 75 assertEquals({a:1,b:2,c:3}, {a, b, c}); // B33
77 } // B34 76 } // B34
78 77
79 function return1() { 78 function return1() {
80 return 1; // B26 79 return 1; // B26
81 } // B27 80 } // B27
82 81
83 f(); 82 f();
84 Debug.setListener(null); // B35 83 Debug.setListener(null); // B35
85 assertNull(exception); 84 assertNull(exception);
OLDNEW
« no previous file with comments | « test/debugger/debug/es6/debug-promises/stepin-constructor.js ('k') | test/debugger/debug/es6/debug-step-destructuring-bind.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698