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

Unified Diff: src/debug/debug.h

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: added is_breakable into PromiseCreatedEvent 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 | « src/api.cc ('k') | src/debug/debug.cc » ('j') | src/js/promise.js » ('J')
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 dd6bb31d5f62cc8aca2d219c85d9a3671a98aaf7..6b25940b7ac9f33b63d77134bc1f7f55e3790d70 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -454,6 +454,10 @@ class Debug {
StepAction last_step_action() { return thread_local_.last_step_action_; }
+ void set_non_breakable_async_events(bool value) {
+ thread_local_.non_breakable_async_events_ = value;
+ }
+
DebugFeatureTracker* feature_tracker() { return &feature_tracker_; }
private:
@@ -622,6 +626,7 @@ class Debug {
Address restart_fp_;
int async_task_count_;
+ bool non_breakable_async_events_;
Yang 2017/01/30 13:30:14 Can we have a comment here?
kozy 2017/01/30 16:58:00 Removed.
};
// Storage location for registers when handling debug break calls
« no previous file with comments | « src/api.cc ('k') | src/debug/debug.cc » ('j') | src/js/promise.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698