OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 import "debug_lib.dart"; | |
6 | |
7 main() { | |
8 if (RunScript(testScript)) return; | |
hausner
2013/07/02 21:48:14
If this still gives you trouble to repro the bug w
devoncarew
2013/07/02 22:12:42
Ah, good idea. I was able to repro the issue havin
| |
9 | |
10 print('foo1'); | |
11 print('foo2'); | |
12 print('foo3'); | |
13 } | |
14 | |
15 /** | |
16 * Set a breakpoint, resume to that breakpoint, step once, and verify that the | |
17 * step worked. | |
18 */ | |
19 var testScript = [ | |
20 MatchFrames(["main"]), | |
21 SetBreakpoint(10), | |
22 Resume(), | |
23 MatchFrames(["main"]), | |
24 Step(), | |
25 MatchFrames(["main"]), | |
26 Resume(), | |
27 ]; | |
OLD | NEW |