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

Unified Diff: src/objects-debug.cc

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)
Patch Set: added a test, ready for review Created 3 years, 10 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
« src/debug/debug.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 5d032d152e7fa6b0b06c4831e56cb984cd3230ef..37162b9adc8495a1c361284f5559c0f4c9002f05 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1263,6 +1263,11 @@ void DebugInfo::DebugInfoVerify() {
VerifyPointer(break_points());
}
+void BreakPoint::BreakPointVerify() {
+ CHECK(IsBreakPoint());
+ VerifyPointer(condition());
Yang 2017/02/15 13:21:10 Let's add a check that condition is a string.
kozy 2017/02/15 16:21:33 Done.
+ VerifyPointer(data());
+}
void BreakPointInfo::BreakPointInfoVerify() {
CHECK(IsBreakPointInfo());
« src/debug/debug.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698