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

Usability suggestion regarding blocks #80

Open
BraunTom opened this issue Jun 14, 2022 · 1 comment
Open

Usability suggestion regarding blocks #80

BraunTom opened this issue Jun 14, 2022 · 1 comment
Labels
discussion enhancement New feature or request

Comments

@BraunTom
Copy link

I find blocks a source of confusion. I see the complete method but not always all of the calls traced. That is as they are "hidden" in blocks. I can see them when having unfolded the trace of the block, but (at least) my brain expects them to be there already and then I wonder where they are.

As it would be incorrect to lift the block content up you could always directly unfold blocks. They would be correctly shown in the debugger and the content would be visible (this would map better to to mental model of exploring the method and its calls as you can see the calls in the code but not in the trace)

@LinqLover
Copy link
Collaborator

Could you maybe give a short example? Do I understand you correctly that in this example:

image

... you would rather prefer the default tree expansion would be this?

image

Or even that?

image

It might be tricky to decide on a default representation that is neither too short nor too overwhelming for a large method with dozens of sends.

In general, the representation and navigation of contexts in the trace tree are quite basic at the moment and follow Squeak's execution model very strictly. I already had hoped to experiment with some more elaborate representation (maybe using Sandblocks) to make the tree easier to grasp, but I have no concrete concepts and plans for this right now. So if you have any further ideas or suggestions, please keep them coming! :-)

@LinqLover LinqLover added enhancement New feature or request discussion labels Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants