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

Unified Diff: runtime/lib/debugger.dart

Issue 1116263004: Add 'dart:debugger' library (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « runtime/lib/debugger.cc ('k') | runtime/lib/debugger_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/debugger.dart
diff --git a/runtime/observatory/lib/src/debugger/debugger.dart b/runtime/lib/debugger.dart
similarity index 53%
copy from runtime/observatory/lib/src/debugger/debugger.dart
copy to runtime/lib/debugger.dart
index b2d5203aff7384e1c5b2e269c38e815a060b1145..8e381cad1602a32f67e2fb1d4738dcb8489423b6 100644
--- a/runtime/observatory/lib/src/debugger/debugger.dart
+++ b/runtime/lib/debugger.dart
@@ -2,12 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of debugger;
+import 'dart:_internal';
-// TODO(turnidge): Move more of ObservatoryDebugger to this class.
-abstract class Debugger {
- VM get vm;
- Isolate get isolate;
- ServiceMap get stack;
- int get currentFrame;
+patch class Debugger {
+ /* patch */ static void breakHere() native "Debugger_breakHere";
+ /* patch */ static void breakHereIf(bool expr) native "Debugger_breakHereIf";
}
« no previous file with comments | « runtime/lib/debugger.cc ('k') | runtime/lib/debugger_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698