-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot set function breakpoint #44495
Comments
@weinand can you please investigate if the backend is providing the expected data. |
What node.js version are you using? Please be aware of the limitations of function breakpoints: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_function-breakpoints |
Retried with v6.11.3 and it didn't work. (This time the function breakpoint was shown as unconfirmed when I started debugging.) |
This also didn't work for me in extension development. |
node.js versions >= 8.0 no longer support function breakpoints. |
@weinand should the adapter then return function breakpoints as |
for node.js >= 8 the adapter does not support function breakpoints so "supportsFunctionBreakpoints" is falsy. VS Code should not call functionBreakpoints and there is no response. for node.js < 8 the DA sends back Breakpoint with the "verified" property set to true, see: |
Issue Type: Bug
Testing #43836
Following the documentation on this, the function breakpoint did not work. Also note that in the screenshot the function breakpoint is shown as resolved, but when I add it while the program is running, it is shown as unresolved.
VS Code version: Code - Insiders 1.21.0-insider (1a84a88, 2018-02-27T06:09:52.377Z)
OS version: Darwin x64 16.7.0
System Info
The text was updated successfully, but these errors were encountered: