-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Breakpoints not binding on typescript project on one machine #194988
Breakpoints not binding on typescript project on one machine #194988
Comments
I have this same issue in a React +TypeScript project. Tried restarting my computer and VS Code but nothing works. I can't get any of my breakpoints to work. I think the only difference from the other day when it worked fine was installing 1.83.0. My next step is to uninstall 1.83 and install the previous version and see if that works. I'm using the SharePoint Framework (SPFx) with React and TypeScript and this is my launch file
|
Uninstalling 1.83 and installing 1.82.3 fixed my breakpoints issue. Download link for 1.82.3: https://code.visualstudio.com/updates/v1_82 |
Hmm weird, I think my laptop is on the latest and it's working but I don't have it in front of my right now. I'll give it a go. |
Ah it works! Well that was a waste of productivity this week! |
It looks like this is a regression with the webpack Btw, I recommend setting your devtool to just |
V8 does not resolve URL-set breakpoints when the script in question only has that URL via a sourceURL mapping. I also noticed an issue with per-script entrypoint breakpoints where another file with the same name, or part of the same name, could incorrectly remove the entrypoint breakpoint early. It's fine to just leave the breakpoint around -- can be slightly slower, but better than missing the breakpoint entirely. Fixes microsoft/vscode#194988
I'll also put this forward as a candidate for our 1.83.1 recovery release |
V8 does not resolve URL-set breakpoints when the script in question only has that URL via a sourceURL mapping. For microsoft/vscode#194988
* fix: eval webpack config breakpoints not setting V8 does not resolve URL-set breakpoints when the script in question only has that URL via a sourceURL mapping. I also noticed an issue with per-script entrypoint breakpoints where another file with the same name, or part of the same name, could incorrectly remove the entrypoint breakpoint early. It's fine to just leave the breakpoint around -- can be slightly slower, but better than missing the breakpoint entirely. Fixes microsoft/vscode#194988 * fix: don't use entry bps in breakpoint reason calculation * fix test
Just noting this still appears to be broken in 1.83.1 for me. |
Please collect a new trace log for me to investigate. Thanks! |
I was one of the people having breakpoint issues in 1.83. I just tested 1.83.1 and my breakpoints work now. |
Hello, I'm having a bit of an issue with a project where none of my breakpoints want to bind to my react typescript application. I've got the exact same setup on a different machine and it works fine there. I've rebooted, reinstalled vs code etc. and no dice.
Running:
VS Code: Version 1.83.0
OS: Linux x64 6.2.0-34-generic (Ubuntu)
Chromium: 114.0.5735.289
My launch.json looks like:
And I've got a debug trace file:
vscode-debugadapter-8ffee509.json.gz
The text was updated successfully, but these errors were encountered: