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

Improve lambda breakpoint toggle (#146) #147

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

Conversation

gayanper
Copy link
Contributor

@gayanper gayanper commented Oct 22, 2022

When not selecting the whole lambda expression, the codeSelect fails to find the lambda method element. So instead of using the document selection, we use the breakpoint locator location if that provides more wider range.

Signed-off-by: Gayan Perera [email protected]

What it does

How to test

Author checklist

@gayanper
Copy link
Contributor Author

@SarikaSinha even thought I couldn't reproduced as you described, I was able to see a problem in the behavior as described in the issue. Please check if this change fixes the problems you found.

When not selecting the whole lambda expression, the codeSelect fails to
find the lambda method element. So instead of using the document
selection, we use the breakpoint locator location if that provides more
wider range.

Signed-off-by: Gayan Perera <[email protected]>
@SarikaSinha
Copy link
Member

@SarikaSinha even thought I couldn't reproduced as you described, I was able to see a problem in the behavior as described in the issue. Please check if this change fixes the problems you found.

My problem is still not resolved. I will check this week.

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