OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 Debug = debug.Debug; | |
6 | |
7 Debug.setListener(function() {}); | |
8 | |
9 function main() { | |
10 function* boo() { | |
11 debugger; | |
12 yield 42; | |
13 } | |
14 | |
15 var gen = boo(); | |
16 gen.next(); | |
17 Debug.setBreakPoint(main, 0, 0); | |
18 gen.next(); | |
19 } | |
20 | |
21 main(); | |
OLD | NEW |