Skip to content

Conversation

viuginick1
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

@viuginick1
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