Index: test/inspector/debugger/step-into-async-expected.txt |
diff --git a/test/inspector/debugger/step-into-async-expected.txt b/test/inspector/debugger/step-into-async-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a2e03b2a9eae1d81c27e06208ed18af300c6df7 |
--- /dev/null |
+++ b/test/inspector/debugger/step-into-async-expected.txt |
@@ -0,0 +1,332 @@ |
+Checks stepIntoAsync for Promise.then |
+ |
+Running test: testBasic |
+basic (test.js:16:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+basic (test.js:17:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+basic (test.js:17:4) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+foo (test.js:8:12) |
+ |
+Executing: resume |
+ |
+Running test: testPromiseResolve |
+promiseResolve (test.js:23:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseResolve (test.js:24:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseResolve (test.js:24:20) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+foo (test.js:8:12) |
+ |
+Executing: resume |
+ |
+Running test: testPromiseReject |
+promiseReject (test.js:28:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseReject (test.js:29:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseReject (test.js:29:24) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+foo (test.js:8:12) |
+ |
+Executing: resume |
+ |
+Running test: testPromiseAll |
+promiseAll (test.js:33:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseAll (test.js:34:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseAll (test.js:34:37) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+foo (test.js:8:12) |
+ |
+Executing: resume |
+ |
+Running test: testPromiseRace |
+promiseRace (test.js:38:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseRace (test.js:39:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promiseRace (test.js:39:38) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+foo (test.js:8:12) |
+ |
+Executing: resume |
+ |
+Running test: testTwoChainedCallbacks |
+twoChainedCallbacks (test.js:43:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+twoChainedCallbacks (test.js:44:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+twoChainedCallbacks (test.js:44:20) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepInto |
+twoChainedCallbacks (test.js:44:30) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+foo (test.js:8:12) |
+ |
+Executing: resume |
+ |
+Running test: testNewPromise |
+newPromise (test.js:49:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+newPromise (test.js:50:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+r (test.js:50:27) |
+newPromise (test.js:50:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepOut |
+newPromise (test.js:50:32) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+newPromise (test.js:50:32) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+boo (test.js:11:12) |
+ |
+Executing: resume |
+ |
+Running test: testReturnedPromise |
+returnedPromise (test.js:58:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+returnedPromise (test.js:59:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+promise (test.js:56:4) |
+returnedPromise (test.js:59:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepOut |
+returnedPromise (test.js:59:12) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+returnedPromise (test.js:59:12) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: stepIntoAsync |
+boo (test.js:11:12) |
+ |
+Executing: resume |
+ |
+Running test: testAsyncAwait |
+asyncAwait (test.js:71:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+asyncAwait (test.js:72:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+foo1 (test.js:68:10) |
+asyncAwait (test.js:72:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+foo2 (test.js:64:18) |
+foo1 (test.js:68:10) |
+asyncAwait (test.js:72:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+foo2 (test.js:64:4) |
+foo1 (test.js:68:10) |
+asyncAwait (test.js:72:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+foo2 (test.js:65:2) |
+ |
+Executing: stepInto |
+foo1 (test.js:69:4) |
+ |
+Executing: stepInto |
+foo1 (test.js:70:2) |
+ |
+Executing: resume |
+ |
+Running test: testResumeWorkAfterBreak |
+basic (test.js:16:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+basic (test.js:17:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepInto |
+basic (test.js:17:4) |
+(anonymous) (:0:0) |
+{ |
+ method : Debugger.paused |
+ params : { |
+ data : { |
+ stepIntoAsyncAvailable : true |
+ } |
+ hitBreakpoints : [ |
+ ] |
+ reason : other |
+ } |
+} |
+ |
+Executing: resume |
+ |
+Running test: testStepIntoAsyncWithoutScheduled |
+basic (test.js:16:2) |
+(anonymous) (:0:0) |
+ |
+Executing: stepIntoAsync |
+{ |
+ error : { |
+ code : -32000 |
+ message : No scheduled callback for stepInto available. |
+ } |
+ id : <messageId> |
+} |