Skip to content
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

debug - fix active line for column-free breakpoints not be decorated correctly #83851

Merged
merged 1 commit into from Nov 1, 2019

Conversation

connor4312
Copy link
Member

In #81718 we adjusted breakpoint display logic to show an 'empty' arrow on the
line, and the arrow with a dot at the column where the debugger is running.
However, not all debuggers support column breakpoints. @bowdenk7 noticed, while
working on his Python demo for ignite, that breakpoints in Python code no
longer displayed correctly.

This PR tweaks the logic so that if we see a breakpoint that doesn't have
an associated column, we show the arrow with a dot on the line, rather than
assuming that there'll be an inline indicator arrow.

Python before this fix:

image

Python with this fix:

Screen Shot 2019-11-01 at 11 10 32 AM

It doesn't appear to affect Node.js debugging (where columns are supported), the same before and after:

Screen Shot 2019-11-01 at 11 22 11 AM

…correctly

In #81718 we adjusted breakpoint display logic to show an 'empty' arrow on the
line, and the arrow with a dot at the column where the debugger is running.
However, not all debuggers support column breakpoints. Bowden noticed, while
working on his Python demo for ignite, that breakpoints in Python code no
longer displayed correctly.

This PR tweaks the logic so that if we see a breakpoint that doesn't have
an associated column, we show the arrow with a dot on the line, rather than
assuming that there'll be an inline indicator arrow.
@connor4312 connor4312 added this to the October 2019 milestone Nov 1, 2019
@connor4312 connor4312 added bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release labels Nov 1, 2019
@connor4312 connor4312 merged commit 372ed29 into master Nov 1, 2019
@connor4312 connor4312 deleted the fix/columnless-breakpoint branch November 1, 2019 23:54
@connor4312 connor4312 restored the fix/columnless-breakpoint branch November 1, 2019 23:55
@connor4312 connor4312 deleted the fix/columnless-breakpoint branch November 1, 2019 23:56
@isidorn
Copy link
Contributor

isidorn commented Nov 12, 2019

@connor4312 Thanks for fixing this. Also fyi #83757

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants