| OLD | NEW |
| 1 Dart Observatory Developer Guide | 1 Dart Observatory Developer Guide |
| 2 --- | 2 --- |
| 3 | 3 |
| 4 Assumptions: | 4 Assumptions: |
| 5 You are running pub from the latest dev channel release of Dart Editor. | 5 You are running pub from the latest dev channel release of Dart Editor. |
| 6 | 6 |
| 7 During development you do not need to run dart2js or rebuild the VM (unless | 7 During development you do not need to run dart2js or rebuild the VM (unless |
| 8 you are also making changes to the backend). While you're working on your | 8 you are also making changes to the backend). While you're working on your |
| 9 feature follow the steps: | 9 feature follow the steps: |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 in release mode (--mode=release), i.e., output is minified and does not include | 26 in release mode (--mode=release), i.e., output is minified and does not include |
| 27 any .dart source files. | 27 any .dart source files. |
| 28 | 28 |
| 29 At this point you should rebuild your VM and: | 29 At this point you should rebuild your VM and: |
| 30 | 30 |
| 31 7. Launch dart --observe script.dart | 31 7. Launch dart --observe script.dart |
| 32 | 32 |
| 33 In a non-Dart enabled browser navigate to localhost:8181 and ensure | 33 In a non-Dart enabled browser navigate to localhost:8181 and ensure |
| 34 that your feature works after being compiled to JavaScript. | 34 that your feature works after being compiled to JavaScript. |
| 35 | 35 |
| 36 8. Commit your change | 36 8. Ensure the vm, standalone, and observatory unit tests still pass: |
| 37 python tools/test.py --mode=debug --arch=ia32 --compiler=none --runtime=vm vm/cc
standalone/vmservice pkg/observatory |
| 37 | 38 |
| 39 9. Commit your change |
| OLD | NEW |