OLD | NEW |
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // Test that we get a meaningful stack trace when called from the | 5 // Test that we get a meaningful stack trace when called from the |
6 // event loop. | 6 // event loop. |
7 | 7 |
8 // FletchDebuggerCommands=b breakHere,r,bt,t internal,bt,c | 8 // DartinoDebuggerCommands=b breakHere,r,bt,t internal,bt,c |
9 | 9 |
10 import 'dart:async'; | 10 import 'dart:async'; |
11 | 11 |
12 void breakHere() { } | 12 void breakHere() { } |
13 | 13 |
14 main() { | 14 main() { |
15 new Future.delayed(new Duration(milliseconds: 1), breakHere); | 15 new Future.delayed(new Duration(milliseconds: 1), breakHere); |
16 } | 16 } |
OLD | NEW |