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 breakpoints not visible in blame view (author history view) - Current commit area #24

Closed
ashishkushwaha opened this issue Jan 26, 2017 · 5 comments
Labels
needs-more-info Needs further information, steps, details, etc.

Comments

@ashishkushwaha
Copy link

Thanks for making this awesome extension. I just noticed that in the blame view (author/commit history view), its not possible to see the breakpoints on the lines highlighted by the current commit.

The breakpoints are set and removed and work fine. Just that they are not visible because i think the commit line block visually overwrites the red break point circle.

Refer to the example image below - There are breakpoints on both line 82 and 83. But its only visible on 83.

image

Its a small issue but really helps during the code review. I can easily see the changes made as a part of that commit and debug them as part of the code review.

@eamodio eamodio added the needs-more-info Needs further information, steps, details, etc. label Feb 9, 2017
@eamodio
Copy link
Member

eamodio commented Feb 9, 2017

@ashishkushwaha could you provide some more information on why this is valuable? With the way vscode deals with the gutter is very simplistic -- so the only way I could not "conflict" with the breakpoints (or really any other gutter item) is to turn off any gutter changes at all. And that isn't really something I'm interested in doing.

@ashishkushwaha
Copy link
Author

Thanks for looking at this. Its not that critical. The only reason i was looking for it was part of a code review I was doing. It was a pretty big JS file and as part of the code review, I wanted to run through the code and specifically set breakpoints only in the changes which were part of this commit. The author view helped in highlighted the current commit lines. But when i set up the break points, I couldn't see them at all.

Since this extension in any case highlights the entire line of that commit block, i think the gutter line can be removed/skipped maybe? Or can be moved to the right (in scroll area). But like i said, its not that big of a deal.

@eamodio
Copy link
Member

eamodio commented Feb 9, 2017

@ashishkushwaha thanks for the info -- you've convinced me. I think I'll add a new setting for choosing the decoration for the selected blame lines -- something like, highlight, gutter, both

@ashishkushwaha
Copy link
Author

Yup. That sounds like the best of both worlds solution. Appreciate it.

billsedison added a commit to noside911/vscode-gitlens that referenced this issue Jan 4, 2019
@github-actions
Copy link

github-actions bot commented Dec 9, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-more-info Needs further information, steps, details, etc.
Projects
None yet
Development

No branches or pull requests

2 participants