Index: test/inspector/debugger/async-stack-for-promise.js |
diff --git a/test/inspector/debugger/async-stack-for-promise.js b/test/inspector/debugger/async-stack-for-promise.js |
index 705bb19086317fc8c3db1cd08bd99923ff941762..9d1d5f076ab380bface81d7188a8951116998cb9 100644 |
--- a/test/inspector/debugger/async-stack-for-promise.js |
+++ b/test/inspector/debugger/async-stack-for-promise.js |
@@ -226,6 +226,10 @@ Protocol.Debugger.onPaused(message => { |
while (asyncStackTrace) { |
InspectorTest.log(`-- ${asyncStackTrace.description} --`); |
InspectorTest.logCallFrames(asyncStackTrace.callFrames); |
+ if (asyncStackTrace.creationFrame) { |
+ InspectorTest.log('--- created in ---'); |
+ InspectorTest.logCallFrames([asyncStackTrace.creationFrame]); |
+ } |
asyncStackTrace = asyncStackTrace.parent; |
} |
InspectorTest.log(''); |