| OLD | NEW |
| 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 | 5 // Flags: --expose-debug-as debug |
| 6 | 6 |
| 7 // Do not edit this file with an editor that replaces \r with \r\n. | 7 // Do not edit this file with an editor that replaces \r with \r\n. |
| 8 // Variable definitions for i0 through i3 are each terminated with \r. | 8 // Variable definitions for i0 through i3 are each terminated with \r. |
| 9 function f() { | 9 function f() { |
| 10 var i0 = 0; | 10 var i0 = 0; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 Debug.setListener(listener); | 35 Debug.setListener(listener); |
| 36 | 36 |
| 37 Debug.setBreakPoint(f, 3, 0); | 37 Debug.setBreakPoint(f, 3, 0); |
| 38 | 38 |
| 39 f(); | 39 f(); |
| 40 | 40 |
| 41 Debug.setListener(null); | 41 Debug.setListener(null); |
| 42 assertTrue(break_point_hit); | 42 assertTrue(break_point_hit); |
| 43 assertNull(exception); | 43 assertNull(exception); |
| OLD | NEW |