You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use F11 to step quickly into the code (hold F11 pressed)
[node-debug2] Error processing "stepIn": Can only perform operation while paused.: Error: [node-debug2] Error processing "stepIn": Can only perform operation while paused.
at file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:2148932
at Object.v [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:70090)
at Object.enter (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:73591)
at n.Class.derive._oncancel._run (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:74912)
at n.Class.derive._oncancel._error (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:74429)
at file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:1941224
at g.e.dispatch (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:1942575)
at g.e.handleData (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:1942083)
at Socket.<anonymous> (file:///C:/Program Files (x86)/Microsoft VS Code Insiders/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:1941084)
at emitOne (events.js:96:13)
The text was updated successfully, but these errors were encountered:
This error is coming from the node2 debug adapter thus forwarding to @roblourens
Since it is a common use case that users quickly press step I suggest we simply swallow the error when you are not paused.
@isidorn It looks like vscode will send stepIn requests constantly without waiting for the debug adapter to be paused. Is that expected? In which case, yes I should just swallow the error from Chrome.
@roblourens yes vscode will send stepIn requests as user successfully clicks on them.
In the perfect scenario I would disable the stepIn until the debugger is paused, but I do not change state until I get a response from the debugger, thus the user can press StepIn 10 times before the first response is back and the debugger is no longer stopped.
Bottom line I think you should just swallow the error from Chrome :)
Testing #26557
The text was updated successfully, but these errors were encountered: