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; |
} |