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

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

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: fixed async/await and added tests 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/debug/debug.cc ('k') | src/inspector/js_protocol.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index ea89ce59f1ca8f3810136f8dd019fc6931253f74..812e77e428ba10cfb8d925ee0df79dcbce73d82d 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -101,6 +101,7 @@ enum StepAction {
};
void PrepareStep(Isolate* isolate, StepAction action);
+void ClearStepping(Isolate* isolate);
bool HasNonBlackboxedFrameOnStack(Isolate* isolate);
@@ -163,8 +164,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,
« no previous file with comments | « src/debug/debug.cc ('k') | src/inspector/js_protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698