From 4c23f55bc457be6ef378b1b6f9514b97a7c8f2d8 Mon Sep 17 00:00:00 2001 From: Hixie Date: Mon, 22 Jun 2015 14:28:41 -0700 Subject: [PATCH] Fix mojodb to use the new sky_server API also. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1199063002. --- engine/src/flutter/HACKING.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/engine/src/flutter/HACKING.md b/engine/src/flutter/HACKING.md index 46a96b94c9..de70d7d47d 100644 --- a/engine/src/flutter/HACKING.md +++ b/engine/src/flutter/HACKING.md @@ -60,3 +60,22 @@ We recommend using the [Dart ``test``](https://pub.dartlang.org/packages/test) testing framework. See [``sky/tests/raw/color_bounds.dart``](tests/raw/color_bounds.dart) for an example. + +Debugging Sky +------------- + +This document aims to explain how to debug Sky itself. + +=== C++ + +Launch a debug Sky build on Linux as follows (where `app.dart` is the +test you are running and trying to debug): + +```bash +mojodb start --gdb out/Debug app.dart +mojodb gdb_attach +``` + +=== Dart + +Use Observatory.