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

Unified Diff: src/debug/debug.cc

Issue 1265923002: Debugger: move implementation to a separate folder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 5 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 | « src/debug/debug.h ('k') | src/debug/debug.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.cc
diff --git a/src/debug.cc b/src/debug/debug.cc
similarity index 99%
rename from src/debug.cc
rename to src/debug/debug.cc
index 38d9f47f29d186a41e6d4d225fb1fd2369e6a4f6..891c92e59e30a28492d0ea6d2554db9aa367f4b0 100644
--- a/src/debug.cc
+++ b/src/debug/debug.cc
@@ -4,6 +4,8 @@
#include "src/v8.h"
+#include "src/debug/debug.h"
+
#include "src/api.h"
#include "src/arguments.h"
#include "src/bootstrapper.h"
@@ -11,7 +13,6 @@
#include "src/codegen.h"
#include "src/compilation-cache.h"
#include "src/compiler.h"
-#include "src/debug.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#include "src/full-codegen/full-codegen.h"
@@ -525,7 +526,7 @@ bool Debug::Load() {
// Compile the JavaScript for the debugger in the debugger context.
bool caught_exception =
- !CompileDebuggerScript(isolate_, Natives::GetIndex("mirror")) ||
+ !CompileDebuggerScript(isolate_, Natives::GetIndex("mirrors")) ||
!CompileDebuggerScript(isolate_, Natives::GetIndex("debug"));
if (FLAG_enable_liveedit) {
@@ -718,7 +719,7 @@ bool Debug::CheckBreakPoint(Handle<Object> break_point_object) {
// Ignore check if break point object is not a JSObject.
if (!break_point_object->IsJSObject()) return true;
- // Get the function IsBreakPointTriggered (defined in debug-debugger.js).
+ // Get the function IsBreakPointTriggered (defined in debug.js).
Handle<String> is_break_point_triggered_string =
factory->InternalizeOneByteString(
STATIC_CHAR_VECTOR("IsBreakPointTriggered"));
@@ -2059,7 +2060,7 @@ void Debug::OnAfterCompile(Handle<Script> script) {
// If debugging there might be script break points registered for this
// script. Make sure that these break points are set.
- // Get the function UpdateScriptBreakPoints (defined in debug-debugger.js).
+ // Get the function UpdateScriptBreakPoints (defined in debug.js).
Handle<String> update_script_break_points_string =
isolate_->factory()->InternalizeOneByteString(
STATIC_CHAR_VECTOR("UpdateScriptBreakPoints"));
« no previous file with comments | « src/debug/debug.h ('k') | src/debug/debug.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698