Postpone termination exceptions in debug scope.
R=yurys@chromium.org BUG=v8:3408 LOG=Y Review URL: https://codereview.chromium.org/353393002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22144 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ae017be69c
commit
ed693ecae3
@ -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;
|
||||
|
||||
|
@ -702,6 +702,7 @@ class DebugScope BASE_EMBEDDED {
|
||||
int break_id_; // Previous break id.
|
||||
bool failed_; // Did the debug context fail to load?
|
||||
SaveContext save_; // Saves previous context.
|
||||
PostponeInterruptsScope no_termination_exceptons_;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user