-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
[BUG] - Bookmarks prevent clicks on breakpoints #551
Comments
You can use the |
Hi @shaonianruntu , This issue is caused by VS Code (first reported in #56), and unfortunately, there is nothing I can do on my side. The extension doesn't have any control about the click event. In fact, I wish I had, because I could add a add bookmark with mouse click option 😃 It is being tracked in microsoft/vscode#5923, and besides the original visual issue has been partially solved by VS Code, the click still doesn't. So, we just have to wait until VS Code itself fixes it, or expose any click event handler to extensions. Hope this helps @fade2gray thanks for the tip 👍 |
Thank you very much for your detail reply. Hahaha, I am real confused why we can't add a breakpoint by mouse click before. Seems it is a missing function of VSCode. Thank you |
@alefragnani What about the margin on the other side of the line number where the expand / collapse code section controls are located? Can you get a click event there? If that is possible, maybe it is possible to move the bookmark here instead of using the gutter? |
Hi @sslupsky , unfortunately no, it is not possible either. |
Environment/version
Steps to reproduce
Normally, a click can creates a breakpoint, and clicks the breakpoint again can cancel it.
But when a bookmark is created on the line where the breakpoint is located, the bookmark will overwrite the layer of the breakpoint, and clicking the created breakpoint again cannot cancel it.
You can continue to cancel the breakpoint by clicking only if you unbookmark the current line first.
I think it's a bug, bookmarks shouldn't override mouse actions on the current line breakpoint.
Hoping to fix it,
Thanks & Regards
Nan
The text was updated successfully, but these errors were encountered: