Skip to content

Conversation

viuginick1
Copy link
Collaborator

It can sometimes be useful, especially making the display more consistent for different classes and reduces the number of 'inspect' calls

_self = @state.context.frame_self(@state.frame_pos)
begin
locals['self'] = _self unless "main" == _self.to_s
locals['self'] = _self
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denofevil I feel this design is OK (and compliant to what's available at runtime), please verify it's OK for you

@valich valich merged commit 0e58fa4 into ruby-debug:master Aug 7, 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