OLD | NEW |
1 // Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 // DartinoDebuggerCommands=b main,r,n | 5 // DartinoDebuggerCommands=b main,r,n |
6 // Enable view of internal frames. | 6 // Enable view of internal frames. |
7 // DartinoDebuggerCommands=toggle internal | 7 // DartinoDebuggerCommands=toggle internal |
8 // Step into an internal function (Random.nextInt) | 8 // Step into an internal function (Random.nextInt) |
9 // DartinoDebuggerCommands=s,s,s | 9 // DartinoDebuggerCommands=s,s,s |
10 // DartinoDebuggerCommands=bt,p | 10 // DartinoDebuggerCommands=bt,p |
11 // Disable view of internal frames. | 11 // Disable view of internal frames. |
12 // DartinoDebuggerCommands=toggle internal | 12 // DartinoDebuggerCommands=toggle internal |
13 // Now we should get the stack view of the top current non-internal frame(main). | 13 // Now we should get the stack view of the top current non-internal frame(main). |
14 // DartinoDebuggerCommands=bt,p | 14 // DartinoDebuggerCommands=bt,p,p rnd |
15 // DartinoDebuggerCommands=q | 15 // DartinoDebuggerCommands=q |
16 | 16 |
17 import 'dart:math'; | 17 import 'dart:math'; |
18 | 18 |
19 main() { | 19 main() { |
20 var rnd = new Random(); | 20 var rnd = new Random(); |
21 rnd.nextInt(255); | 21 rnd.nextInt(255); |
22 } | 22 } |
OLD | NEW |