-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fastening debugger stack navigation #654
base: Pharo13
Are you sure you want to change the base?
Fastening debugger stack navigation #654
Conversation
…it is not much useful and impacts performances
Unrelated error: pharo-project/pharo#15953 |
Thanks adrian What is the 'debugger inspector selection remembrance mechanism'? Because it looks like a nice feature. |
If you select a variable in the debugger inspector, then if you select another context in the context stack and then select again the previous context in the contexts stack, the debugger inspector automatically selects again the variable that was selected before you switched contexts |
Thanks for the explanation. I was wondering this is slow. |
uhm... the problem with this is that it cancels the effect "flow" that we have now with the inspector, making it harder to navigate in some situations. |
So what is the decision on this issue. |
So what is the decision for this issue? |
In the current state, and specifically because we have not yet been able to exactly locate the source of the latency (it seems to come from spec but it could be how we use it):
Today we can only propose these two options. |
For more precision, the scenario is:
It is this reselection of [A] that provokes a visible latency in the debugger. |
Tx for investigating |
Fixes #584
The whole discussion is in this issue.
To fasten the navigation of the debugger stack, I removed the debugger inspector selection remembrance mechanism because it :
Furthermore, I modified the way the
#receiverNodes
are built for anStDebuggerContext
object. It used to collect allInspectorNodes and then reject theself
node, like this:while
#allInspectorNodes
actually adds aself
node to the nodes returned by#inspectorNodes
:So to spare an unncessary filter, I changed
#receiverNodes
to this equivalent method:If you have some examples of programs to debug for which the stack navigation was slow, I'm eager to know