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

Unified Diff: src/debug/debug.h

Issue 2423153002: [inspector] migrate stepping related methods to debug-interface (Closed)
Patch Set: we use ClearStepping to cancel stepFrame Created 4 years, 2 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/api.cc ('k') | src/debug/debug-interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 4d591d053134560189e9f7fa4e16dc324771ed58..30cbe77f8b37aa71895d49b54c60c29fe29cd88c 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -501,8 +501,11 @@ class Debug {
void Iterate(ObjectVisitor* v);
bool CheckExecutionState(int id) {
- return is_active() && !debug_context().is_null() && break_id() != 0 &&
- break_id() == id;
+ return CheckExecutionState() && break_id() == id;
+ }
+
+ bool CheckExecutionState() {
+ return is_active() && !debug_context().is_null() && break_id() != 0;
}
// Flags and states.
« no previous file with comments | « src/api.cc ('k') | src/debug/debug-interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698