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

Unified Diff: runtime/bin/vmservice/client/HACKING.txt

Issue 164503002: Trace VM service requests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/json_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/HACKING.txt
diff --git a/runtime/bin/vmservice/client/HACKING.txt b/runtime/bin/vmservice/client/HACKING.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0edca7940dd716306607e3ee5682823c6737b92b
--- /dev/null
+++ b/runtime/bin/vmservice/client/HACKING.txt
@@ -0,0 +1,29 @@
+Dart Observatory Developer Guide
+---
+
+During development you do not need to run dart2js or rebuild the VM (unless
+you are also making changes to the backend). While you're working on your
+feature follow the steps:
+
+1. Open runtime/bin/vmservice/client in the Dart Editor
+2. Launch dart --enable-vm-service with a long running script in a terminal
+3. Launch web/index.html in Dartium
+
+At this point you should see the initial Observatory UI and that
+it is communicating with the VM you launched in step 2.
+
+Continue to develop and iterate until you're ready to upload your change
+for review. Upload your change and get an LGTM.
+
+4. Run dart build_.dart
+5. Run ./precommit.sh
+
+At this point you should rebuild your VM and using the build:
+
+6. Launch dart --enable-vm-service with a long running script.
+
+In a non-Dart enabled browser navigate to localhost:8181 and ensure
+that your feature works after being compiled to JavaScript.
+
+7. Commit your change
+
« no previous file with comments | « no previous file | runtime/vm/json_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698