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

Side by Side Diff: test/debugger/debug/regress/regress-crbug-582051.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 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 var test_y = false; 6 var test_y = false;
8 7
9 function foo(a = 1) { 8 function foo(a = 1) {
10 var x = 2; 9 var x = 2;
11 debugger; 10 debugger;
12 eval("var y = 3"); 11 eval("var y = 3");
13 test_y = true; 12 test_y = true;
14 debugger; 13 debugger;
15 } 14 }
(...skipping 19 matching lines...) Expand all
35 } catch (e) { 34 } catch (e) {
36 print(e); 35 print(e);
37 exception = e; 36 exception = e;
38 } 37 }
39 } 38 }
40 Debug.setListener(listener); 39 Debug.setListener(listener);
41 foo(); 40 foo();
42 41
43 assertNull(exception); 42 assertNull(exception);
44 assertEquals(2, break_count); 43 assertEquals(2, break_count);
OLDNEW
« no previous file with comments | « test/debugger/debug/regress/regress-crbug-467180.js ('k') | test/debugger/debug/regress/regress-opt-after-debug-deopt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698