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

Side by Side Diff: test/debugger/debug/regress/regress-crbug-432493.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 function f() { 6 function f() {
8 var a = 1; 7 var a = 1;
9 var b = 2; 8 var b = 2;
10 return a + b; 9 return a + b;
11 } 10 }
12 11
13 var exception = null; 12 var exception = null;
14 var break_count = 0; 13 var break_count = 0;
15 var throw_count = 0; 14 var throw_count = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 f(); 47 f();
49 f(); 48 f();
50 49
51 Debug.setListener(null); 50 Debug.setListener(null);
52 Debug.clearBreakOnException(); 51 Debug.clearBreakOnException();
53 Debug.debuggerFlags().breakPointsActive.setValue(true); 52 Debug.debuggerFlags().breakPointsActive.setValue(true);
54 53
55 assertEquals(2, break_count); 54 assertEquals(2, break_count);
56 assertEquals(1, throw_count); 55 assertEquals(1, throw_count);
57 assertNull(exception); 56 assertNull(exception);
OLDNEW
« no previous file with comments | « test/debugger/debug/regress/regress-crbug-222893.js ('k') | test/debugger/debug/regress/regress-crbug-605581.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698