<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
My bad. I will take a look at it. Maybe I also find a way to improve documentation and code. I will keep you posted.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Marcel<span id="ms-outlook-android-cursor"></span></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> on behalf of Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com><br>
<b>Sent:</b> Saturday, April 17, 2021 12:12:05 AM<br>
<b>To:</b> The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br>
<b>Subject:</b> [squeak-dev] I've reached my limits</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">I often recommend using the debugger in order to acquire a better<br>
understanding of code.<br>
A priori, I think that no bug can resist a thorough analysis/best efforts.<br>
<br>
A posteriori, it seems that I've reached my limits with the debugging<br>
of test03EventHandler.<br>
If you find where the blue button down event is filtered/catched<br>
without prior knowledge of Morphic event handling, by just stepping,<br>
then either you are lucky, or your analytical capabilities are<br>
tremendous (you can probably focus on 77 symbols simultaneously rather<br>
than the average of 7)!<br>
For me, that's not the right angle of attack!<br>
<br>
All I acquired is an increased reluctance to start a deeper learning<br>
of Morphic, more questioning about whether I'm becoming too old, and<br>
the conviction that things are maybe getting too complex (more than<br>
strictly necessary?).<br>
<br>
Look at the full stack (which BTW is not the full stack -- and more<br>
not shown --).<br>
<br>
I let the test03EventHandler fix to people with prior knowledge, not<br>
only because I was distracted by debugger bugs...<br>
<br>
Nicolas<br>
<br>
--- The full stack ---<br>
MorphicEventTests(Object)>>halt<br>
[] in MorphicEventTests>>test03EventHandler<br>
EventHandler>>send:to:withEvent:fromMorph:<br>
EventHandler>>mouseDown:fromMorph:<br>
Morph>>mouseDown:<br>
Morph>>handleMouseDown:<br>
MouseButtonEvent>>sentTo:<br>
Morph>>handleEvent:<br>
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:<br>
[] in MorphicEventDispatcher>>dispatchMouseDown:with:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
MorphicEventDispatcher>>dispatchMouseDown:with:<br>
MorphicEventDispatcher>>dispatchEvent:with:<br>
Morph>>processEvent:using:<br>
Morph>>processEvent:<br>
[] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:<br>
Array(SequenceableCollection)>>do:<br>
PasteUpMorph(Morph)>>submorphsDo:<br>
MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:<br>
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:<br>
[] in MorphicEventDispatcher>>dispatchMouseDown:with:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
MorphicEventDispatcher>>dispatchMouseDown:with:<br>
MorphicEventDispatcher>>dispatchEvent:with:<br>
PasteUpMorph(Morph)>>processEvent:using:<br>
[] in PasteUpMorph>>processEvent:using:<br>
[] in ActiveWorldVariable class(DynamicVariable class)>>value:during:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
ActiveWorldVariable class(DynamicVariable class)>>value:during:<br>
[] in ActiveWorldVariable class>>value:during:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
ActiveWorldVariable class>>value:during:<br>
PasteUpMorph>>becomeActiveDuring:<br>
PasteUpMorph>>processEvent:using:<br>
PasteUpMorph(Morph)>>processEvent:<br>
HaloMorph(SimpleHaloMorph)>>mouseDown:<br>
HaloMorph>>mouseDown:<br>
HaloMorph(Morph)>>handleMouseDown:<br>
MouseButtonEvent>>sentTo:<br>
HaloMorph(Morph)>>handleEvent:<br>
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:<br>
[] in MorphicEventDispatcher>>dispatchMouseDown:with:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
MorphicEventDispatcher>>dispatchMouseDown:with:<br>
MorphicEventDispatcher>>dispatchEvent:with:<br>
HaloMorph(Morph)>>processEvent:using:<br>
MorphicEventDispatcher>>doProcessingForFocusEvent:with:<br>
MorphicEventDispatcher>>dispatchFocusEventFully:with:<br>
MorphicEventDispatcher>>dispatchFocusEventAllOver:with:<br>
HaloMorph(SimpleHaloMorph)>>processFocusEvent:using:<br>
HaloMorph(Morph)>>processFocusEvent:<br>
[] in [] in [] in HandMorphForEventTests(HandMorph)>>sendFocusEvent:to:clear:<br>
[] in ActiveEventVariable class(DynamicVariable class)>>value:during:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
ActiveEventVariable class(DynamicVariable class)>>value:during:<br>
[] in ActiveEventVariable class>>value:during:<br>
FullBlockClosure(BlockClosure)>>ensure:<br>
ActiveEventVariable class>>value:during:<br>
MouseButtonEvent(MorphicEvent)>>becomeActiveDuring:<br>
[] in [] in HandMorphForEventTests(HandMorph)>>sendFocusEvent:to:clear:<br>
[] in ActiveHandVariable class(DynamicVariable class)>>value:during:<br>
-- and more not shown --<br>
<br>
</div>
</span></font></div>
</body>
</html>