Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: sky/HACKING.md

Issue 1199063002: Fix mojodb to use the new sky_server API also. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/tools/mojodb ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Hacking on Sky 1 Hacking on Sky
2 ============== 2 ==============
3 3
4 Building 4 Building
5 -------- 5 --------
6 6
7 * Follow the setup & build instructions for [Mojo](https://github.com/domokit/mo jo) 7 * Follow the setup & build instructions for [Mojo](https://github.com/domokit/mo jo)
8 8
9 The build directory will be `out/Debug` for Linux debug builds, and 9 The build directory will be `out/Debug` for Linux debug builds, and
10 `out/Release` for Linux release builds. For Android builds, prefix 10 `out/Release` for Linux release builds. For Android builds, prefix
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 * Type the URL you wish to run, for example ``http://127.0.0.1:8000/sky/tests/wi dgets/dialog.dart``, and press the enter key 53 * Type the URL you wish to run, for example ``http://127.0.0.1:8000/sky/tests/wi dgets/dialog.dart``, and press the enter key
54 * The harness should print the results of the test. You can then type another U RL. 54 * The harness should print the results of the test. You can then type another U RL.
55 55
56 Writing tests 56 Writing tests
57 ------------- 57 -------------
58 58
59 We recommend using the [Dart 59 We recommend using the [Dart
60 ``test``](https://pub.dartlang.org/packages/test) testing framework. 60 ``test``](https://pub.dartlang.org/packages/test) testing framework.
61 See [``sky/tests/raw/color_bounds.dart``](tests/raw/color_bounds.dart) 61 See [``sky/tests/raw/color_bounds.dart``](tests/raw/color_bounds.dart)
62 for an example. 62 for an example.
63
64 Debugging Sky
65 -------------
66
67 This document aims to explain how to debug Sky itself.
68
69 === C++
70
71 Launch a debug Sky build on Linux as follows (where `app.dart` is the
72 test you are running and trying to debug):
73
74 ```bash
75 mojodb start --gdb out/Debug app.dart
eseidel 2015/06/22 21:28:18 These are soon to be deprecated instructions, care
76 mojodb gdb_attach
77 ```
78
79 === Dart
80
81 Use Observatory.
OLDNEW
« no previous file with comments | « mojo/tools/mojodb ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698