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

ignore duplicate line-events only if there are two in a row #11

Merged
merged 1 commit into from
Nov 28, 2017

Conversation

ViugiNick
Copy link
Contributor

https://youtrack.jetbrains.com/issue/RUBY-20513

Initially, this check was added becouse of if with parentheses, which generates several line-events in a row.
In the case of a non-empty block, in addition to these line-events it will be some call/returns or c-call/c-returns

@denofevil
Copy link
Member

denofevil commented Nov 27, 2017

I’m wondering whether we should clean file/line on c-call instead

@ViugiNick
Copy link
Contributor Author

I do not really understand how this will solve the problem. Or do you propose to clean the debugger context's top frame file/line?

@denofevil denofevil merged commit 0c48c29 into ruby-debug:master Nov 28, 2017
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