-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Only column breakpoints should show inline bp indicator #21950
Comments
I'm seeing lots of red dots in regular development of a TypeScript based extension. Seems like they appear after I step across a line with multiple statements. Its easy to do, all you need is a for loop and you are in this state. |
After discussing with @weinand we believe that it is best to do what we already specified in the previous milestone in this comment In short the debug adapter is in charge what breakpoint should he transform into a column brekapoint. Thus an adapter should not add a column to a regular breakpoint if it is not a column breakpoint. Due to this assigning to @roblourens @chrisdias are you talking about brekapoints or the yellow top stack frame decoration. If you are talking about red brekapoints please file a bug with reproducable steps and file it to me since for that scenario we use |
This line: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/debugService.ts#L964 makes it look like the column breakpoints should be ignored already. Is that changing? |
@roblourens my mistake. I was accidently adding a column to a breakpoint when user edits a file. And yes that line is not supposed to change I just forgot about it. So it is fine for your adapter to return columns if it did not recieve columns. |
My debug adapters return column locations of BPs, even when a column BP wasn't set. As a result, my code ends up full of bp indicators:
Should we
The text was updated successfully, but these errors were encountered: