Index: src/debug/debug-interface.h |
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h |
index b25ad905508c067dea9353a031ebc28924432d6e..d76ad1da5e749006021fe1c963e5ec91e87395d0 100644 |
--- a/src/debug/debug-interface.h |
+++ b/src/debug/debug-interface.h |
@@ -147,6 +147,10 @@ class WasmScript : public Script { |
void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); |
+// Calls DebugDelegate::ModuleRequested for any modules that were requested |
+// during other module evaluation. |
+void ReportRequestedModules(Isolate* isolate); |
+ |
MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, |
Local<String> source); |
@@ -169,6 +173,9 @@ class DebugDelegate { |
const debug::Location& end) { |
return false; |
} |
+ virtual void ModuleRequested(v8::Local<debug::Script> referer, |
+ v8::Local<debug::Script> requested, |
+ v8::Local<v8::String> specifier) {} |
}; |
void SetDebugDelegate(Isolate* isolate, DebugDelegate* listener); |