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

Fix ignoring of gutter clicks when debugger not active #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rchl
Copy link
Contributor

@rchl rchl commented Nov 14, 2021

The check didn't check whether the current window has debugger
active so debuggers active in other windows enabled gutter clicks
in the current window also.

Relates to #68

The check didn't check whether the **current** window has debugger
active so debuggers active in other windows enabled gutter click
in the current window also.
@rchl rchl changed the title Fix ignoring of gutter clicks when debugged not active Fix ignoring of gutter clicks when debugger not active Nov 19, 2021
@daveleroy
Copy link
Owner

This conflicts with how breakpoints are currently displayed which can lead to a breakpoint that appears in a gutter but cannot be removed/edited. Breakpoints are displayed on every view with the correct file name regardless of if the view has the same window as the debugger in which the breakpoint was set.

@rchl
Copy link
Contributor Author

rchl commented Nov 30, 2021

But with a single window with no debugger active, or with multiple windows of which neither has debugger active, the issue you mention would still happen, right? So this change would make things more consistent at least. Unless I'm missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants