OLD | NEW |
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 const Debug = new DebugWrapper(); | 5 const Debug = new DebugWrapper(); |
6 Debug.enable(); | 6 Debug.enable(); |
7 | 7 |
8 // Tests how debugger can step over not necessarily in the top frame. | 8 // Tests how debugger can step over not necessarily in the top frame. |
9 | 9 |
10 // Simple 3 functions, that protocol their execution state in global | 10 // Simple 3 functions, that protocol their execution state in global |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 } | 71 } |
72 | 72 |
73 assertEquals(expected_final_state, state_snapshot); | 73 assertEquals(expected_final_state, state_snapshot); |
74 } | 74 } |
75 | 75 |
76 | 76 |
77 // Warm-up -- make sure all is compiled and ready for breakpoint. | 77 // Warm-up -- make sure all is compiled and ready for breakpoint. |
78 h(); | 78 h(); |
79 | 79 |
80 TestCase("0,0,-1"); | 80 TestCase("0,0,-1"); |
OLD | NEW |