Step Into with ignored code has spurious steps on node 12
See original GitHub issueDescribe the bug
Step Into on console.log
with node_internals
ignored stops results in multiple steps. Stepping also doesn’t follow the async execution flow.
To Reproduce See repro repository case 2.
Log File
See repro repository case2*.log.json
VS Code Version:
Version: 1.52.0-insider Commit: dbbf7079b20b3036b3ff5ac2e2106b84dd3c6d66 Date: 2020-12-10T16:23:20.433Z Electron: 9.3.5 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Darwin x64 19.6.0
also tried on:
Version: 1.51.1 Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f Date: 2020-11-11T01:11:34.018Z Electron: 9.3.3 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Darwin x64 19.6.0
Additional context
See the linked repository for debugger launch settings and repro code.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
#888 is the opposite, but that seems exclusive to Node 14, and Node 15 is back to the behavior in this issue. I suspect the issue is something to deal with async code, since looking at the log file we always end up paused in the “async inspector” code. We’ll see what the Node team has to say.
Closing pending upstream update.