Index: test/debugger/test-api.js |
diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js |
index d8e6e7d3239abfd1263f4669a2d3f29d43c43fda..13aaf686c12527f264485d0576441eaf4ece11d3 100644 |
--- a/test/debugger/test-api.js |
+++ b/test/debugger/test-api.js |
@@ -819,6 +819,8 @@ class DebugWrapper { |
break; |
} |
+ if (!params.callFrames[0]) return; |
+ |
// Skip break events in this file. |
if (params.callFrames[0].location.scriptId == this.thisScriptId) return; |