Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hide irrelevant variables #3

Open
Sumukh opened this issue May 7, 2017 · 1 comment
Open

Hide irrelevant variables #3

Sumukh opened this issue May 7, 2017 · 1 comment

Comments

@Sumukh
Copy link
Member

Sumukh commented May 7, 2017

It's easy to get overwhelmed when running this on a project:

image

We should hide irrelevant variables that haven't changed in a while.

The patch for this in the meantime would be to grow python tutor frame/objects upwards - that way the most recent frame has the attention. That definitely does not solve the issue (changes could be happening in the global frame and you wouldn't notice it)

@Sumukh
Copy link
Member Author

Sumukh commented May 7, 2017

Another approach (purely in JS): Capture the state before execution of the first line - hide all of that - but monitor those refs for changes. If anything changes - render that in the global scope (otherwise ignore)

(could become slightly more complex since there'd be a bit of recursive tracking)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant