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

Unified Diff: src/api.cc

Issue 2738503006: [inspector] don't make v8::debug::Call for breakProgram. (Closed)
Patch Set: fixed tests Created 3 years, 9 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 | src/debug/debug.h » ('j') | src/debug/debug.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index a359d48a8eb9fd197ee2dc495d0c5da1219c1b09..16fd1b57ff6df517ccc5517b73cf18feae8e2a71 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -9106,6 +9106,12 @@ void debug::ClearStepping(Isolate* v8_isolate) {
isolate->debug()->ClearStepping();
}
+void debug::HandleDebugBreak(Isolate* v8_isolate) {
dgozman 2017/03/09 23:04:00 BreakRightNow
kozy 2017/03/10 03:14:54 Done.
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
+ ENTER_V8(isolate);
+ isolate->debug()->HandleDebugBreak(i::kAllFramesBlackboxed);
+}
+
bool debug::AllFramesOnStackAreBlackboxed(Isolate* v8_isolate) {
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
ENTER_V8(isolate);
« no previous file with comments | « no previous file | src/debug/debug.h » ('j') | src/debug/debug.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698