Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 653fda67d51cf704561053a18af93d63d4f345fb..5d76b1c2c0ebc4b82ff39279b764924205f443f3 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -1920,6 +1920,10 @@ void Debug::CallEventCallback(v8::DebugEvent event, |
void Debug::ProcessCompileEvent(v8::DebugEvent event, Handle<Script> script) { |
if (ignore_events()) return; |
+ if (script->type() != i::Script::TYPE_NORMAL && |
+ script->type() != i::Script::TYPE_WASM) { |
+ return; |
+ } |
SuppressDebug while_processing(this); |
bool in_nested_debug_scope = in_debug_scope(); |