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

Unified Diff: src/debug/debug.cc

Issue 2648353006: [inspector] ignores debugger; in blackboxed code (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | test/inspector/debugger/framework-break-expected.txt » ('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/debug.cc b/src/debug/debug.cc
index a21bfde25c1c5fab931337dc0679f97ddf16e9a9..418b8eb2481d84020a22a43658aabed70412edd3 100644
--- a/src/debug/debug.cc
+++ b/src/debug/debug.cc
@@ -2139,8 +2139,7 @@ void Debug::HandleDebugBreak() {
if (fun && fun->IsJSFunction()) {
// Don't stop in builtin functions.
if (!JSFunction::cast(fun)->shared()->IsSubjectToDebugging()) return;
- if (isolate_->stack_guard()->CheckDebugBreak() &&
- IsBlackboxed(JSFunction::cast(fun)->shared())) {
+ if (IsBlackboxed(JSFunction::cast(fun)->shared())) {
Yang 2017/01/25 06:03:52 Why do we need to deoptimize the function? We don'
kozy 2017/01/25 06:10:44 I think when we schedule pause on next statement f
Yang 2017/01/25 08:32:34 As discussed, please also deopt the function for t
Deoptimizer::DeoptimizeFunction(JSFunction::cast(fun));
return;
}
« no previous file with comments | « no previous file | test/inspector/debugger/framework-break-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698