Index: test/inspector/debugger/async-stack-await.js |
diff --git a/test/inspector/debugger/async-stack-await.js b/test/inspector/debugger/async-stack-await.js |
index a7eb741904b0015378eccb6d173f8bfbef36f4bc..50f423d044a117d589d98e2cfead99b4caeb1b85 100644 |
--- a/test/inspector/debugger/async-stack-await.js |
+++ b/test/inspector/debugger/async-stack-await.js |
@@ -28,12 +28,7 @@ async function test() { |
InspectorTest.setupScriptMap(); |
Protocol.Debugger.onPaused(message => { |
InspectorTest.logCallFrames(message.params.callFrames); |
- var asyncStackTrace = message.params.asyncStackTrace; |
- while (asyncStackTrace) { |
- InspectorTest.log(`-- ${asyncStackTrace.description} --`); |
- InspectorTest.logCallFrames(asyncStackTrace.callFrames); |
- asyncStackTrace = asyncStackTrace.parent; |
- } |
+ InspectorTest.logAsyncStackTrace(message.params.asyncStackTrace); |
InspectorTest.log(''); |
Protocol.Debugger.resume(); |
}); |