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

Unified Diff: src/isolate.cc

Issue 301633005: Merge Debugger and Debug. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/isolate.h ('k') | src/liveedit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 3a8bfa637c4c29edb1503c07a7576954019445d9..ce7e05c557f7abdd77f3d16fae13f00fcd3435a3 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1036,7 +1036,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
// Notify debugger of exception.
if (catchable_by_javascript) {
- debugger_->OnException(exception_handle, report_exception);
+ debug()->OnException(exception_handle, report_exception);
}
// Generate the message if required.
@@ -1520,7 +1520,6 @@ Isolate::Isolate()
InitializeLoggingAndCounters();
debug_ = new Debug(this);
- debugger_ = new Debugger(this);
}
@@ -1732,8 +1731,6 @@ Isolate::~Isolate() {
delete random_number_generator_;
random_number_generator_ = NULL;
- delete debugger_;
- debugger_ = NULL;
delete debug_;
debug_ = NULL;
}
« no previous file with comments | « src/isolate.h ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698