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

Unified Diff: src/objects-debug.cc

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)
Patch Set: added comment about inlined jsframe index 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
« no previous file with comments | « 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..120976e586e48dbc2d8705d76bab49b057c5201c 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1263,6 +1263,12 @@ void DebugInfo::DebugInfoVerify() {
VerifyPointer(break_points());
}
+void BreakPoint::BreakPointVerify() {
+ CHECK(IsBreakPoint());
+ CHECK(condition()->IsString());
+ VerifyPointer(condition());
+ VerifyPointer(data());
+}
void BreakPointInfo::BreakPointInfoVerify() {
CHECK(IsBreakPointInfo());
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698