Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Provide evaluateName property, so variable values can be copied from debugger. - #546

Merged
wingrunr21 merged 2 commits into
rubyide:masterfrom
peret:implement-evaluate-name-536
Feb 23, 2020
Merged

wingrunr21 merged 2 commits into
rubyide:masterfrom
peret:implement-evaluate-name-536

Conversation

@peret

@peret peret commented Oct 13, 2019

Copy link
Copy Markdown
Contributor

Should fix #536.

A first implementation of the evaluateName property on debug variable. This enables the "Copy Value" and related features in the VS Code Debugger. evaluateName needs to be build differently based on what kind of variable we're dealing with.

  • The build passes
  • TSLint is mostly happy
  • Prettier has been run

peret added 2 commits October 13, 2019 14:44
…riables.

We can't assume that there's an accessor for all instance variables, for
example. Using `instance_variable_get` will let us evaluate to the correct
value, always.
@wingrunr21
wingrunr21 merged commit e1be372 into rubyide:master Feb 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't copy values from debug variables

2 participants