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

Unified Diff: runtime/lib/debugger.cc

Issue 1132113002: Rename 'dart:debugger' to 'dart:developer' (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 | « no previous file | runtime/lib/debugger.dart » ('j') | runtime/vm/bootstrap_natives.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/debugger.cc
diff --git a/runtime/lib/debugger.cc b/runtime/lib/debugger.cc
deleted file mode 100644
index b2a91b183aa5fcd298be99ab09d3d25772f9d099..0000000000000000000000000000000000000000
--- a/runtime/lib/debugger.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-#include "vm/bootstrap_natives.h"
-
-#include "include/dart_api.h"
-
-#include "vm/debugger.h"
-#include "vm/exceptions.h"
-#include "vm/native_entry.h"
-#include "vm/object.h"
-#include "vm/object_store.h"
-
-namespace dart {
-
-// dart:debugger.
-
-DEFINE_NATIVE_ENTRY(Debugger_breakHere, 0) {
- Debugger* debugger = isolate->debugger();
- if (!debugger) {
- return Object::null();
- }
- debugger->BreakHere();
- return Object::null();
-}
-
-
-DEFINE_NATIVE_ENTRY(Debugger_breakHereIf, 1) {
- Debugger* debugger = isolate->debugger();
- if (!debugger) {
- return Object::null();
- }
- GET_NON_NULL_NATIVE_ARGUMENT(Bool, expr, arguments->NativeArgAt(0));
- if (expr.value()) {
- debugger->BreakHere();
- }
- return Object::null();
-}
-
-
-} // namespace dart
« no previous file with comments | « no previous file | runtime/lib/debugger.dart » ('j') | runtime/vm/bootstrap_natives.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698