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

Side by Side Diff: test/debugger/debug/ignition/optimized-debug-frame.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: --allow-natives-syntax --expose-debug-as debug
6 5
7 // Test that PC in optimized frame would correctly translate into 6 // Test that PC in optimized frame would correctly translate into
8 // unoptimized frame when retrieving frame information in the debugger. 7 // unoptimized frame when retrieving frame information in the debugger.
9 8
10 function f() { 9 function f() {
11 debugger; 10 debugger;
12 } 11 }
13 12
14 function g(x) { 13 function g(x) {
15 return f(); 14 return f();
(...skipping 13 matching lines...) Expand all
29 %OptimizeFunctionOnNextCall(g); 28 %OptimizeFunctionOnNextCall(g);
30 29
31 var Debug = debug.Debug; 30 var Debug = debug.Debug;
32 Debug.setListener(listener); 31 Debug.setListener(listener);
33 32
34 g(); 33 g();
35 34
36 Debug.setListener(null); 35 Debug.setListener(null);
37 36
38 assertEquals(1, break_count); 37 assertEquals(1, break_count);
OLDNEW
« no previous file with comments | « test/debugger/debug/ignition/elided-instruction.js ('k') | test/debugger/debug/regress/regress-102153.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698