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

Unified Diff: src/debug/debug-interface.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
Index: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index fcf119e3ad3fbb8e5363a738f0a74cdde4ffa226..1fc77b32d8e43e37d54044e8ed56827ad12db8a3 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -91,6 +91,7 @@ enum StepAction {
};
void PrepareStep(Isolate* isolate, StepAction action);
+void ClearStepping(Isolate* isolate);
bool HasNonBlackboxedFrameOnStack(Isolate* isolate);
@@ -152,8 +153,9 @@ MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
class DebugDelegate {
public:
virtual ~DebugDelegate() {}
- virtual void PromiseEventOccurred(debug::PromiseDebugActionType type, int id,
- int parent_id) {}
+ virtual void PromiseEventOccurred(debug::PromiseDebugActionType type,
+ int id) {}
+ virtual void PromiseCreatedEvent(int id, int parent_id, bool is_breakable) {}
virtual void ScriptCompiled(v8::Local<Script> script,
bool has_compile_error) {}
virtual void BreakProgramRequested(v8::Local<v8::Context> paused_context,

Powered by Google App Engine
This is Rietveld 408576698