Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index b19b47e4fa26df3cab0f2ab6901b42f3d7c0f654..01412a12d228c499629802f0ca554096761b6802 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -3074,9 +3074,12 @@ void Debug::ProcessDebugMessages(bool debug_command_only) { |
} |
-DebugScope::DebugScope(Debug* debug) : debug_(debug), |
- prev_(debug->debugger_entry()), |
- save_(debug_->isolate_) { |
+DebugScope::DebugScope(Debug* debug) |
+ : debug_(debug), |
+ prev_(debug->debugger_entry()), |
+ save_(debug_->isolate_), |
+ no_termination_exceptons_(debug_->isolate_, |
+ StackGuard::TERMINATE_EXECUTION) { |
// Link recursive debugger entry. |
debug_->thread_local_.current_debug_scope_ = this; |