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

Unified Diff: src/debug/debug-interface.h

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: override current scheduled step into async if presented 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
Index: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index c43a9701f00774639670c7bf71d72c6b647d2a5c..6fecd44a594bd672eeeda2ea2087682d0d820048 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -102,6 +102,7 @@ enum StepAction {
};
void PrepareStep(Isolate* isolate, StepAction action);
+void ClearStepping(Isolate* isolate);
bool HasNonBlackboxedFrameOnStack(Isolate* isolate);
@@ -164,8 +165,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(v8::Local<v8::Context> context,
+ debug::PromiseDebugActionType type, int id,
+ int parent_id, bool 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