[Cuis-dev] Debugging faulty Morph

Hilaire Fernandes hilaire at drgeo.eu
Thu Apr 29 05:36:42 PDT 2021


Hi Juan,

I found that debugging faulty morph is hard in some situation, at least 
in the context of DrGeo which, I acknowledge, may not be representative.

Any way, when I have this DrGeo drawable (just a morph) to which I add 
other morph (view of geometric model), whenever this morph is causing an 
error (for example sending a message to a nil object), Cuis enters an 
unstoppable infinite loop (Alt+ [.] does not work) and log is printed on 
the command line terminal (log attached too). The debugger never shows up:

|Error: Error: instVarAt:put: failed|

|See 
/home/hilaire/Travaux/Developpement/Cuis/Cuis-Smalltalk-Dev/CuisDebug-2021-04-29_14.22.45.log|

|29 April 2021 2:22:45.925242 pm|

|UndefinedObject(Object)>>error:|

|[] in WorldMorph>>displayWorldSafely|

|BlockClosure>>valueWithPossibleArgument:and:|

|[] in BlockClosure>>ifError:|

|BlockClosure>>valueWithPossibleArgument:|

|[] in [] in Error(Exception)>>evaluateHandlerBlock:|

|BlockClosure>>on:do:|

|[] in Error(Exception)>>evaluateHandlerBlock:|

|BlockClosure>>ifCurtailed:|

|Error(Exception)>>evaluateHandlerBlock:|

|MethodContext(ContextPart)>>evaluateSignal:|

|MethodContext(ContextPart)>>handleSignal:|

|Error(Exception)>>signalIn:|

|Error(Exception)>>signal|

|Error(Exception)>>signal:|

|UndefinedObject(Object)>>error:|

|UndefinedObject(Object)>>primitiveFailed:|

|UndefinedObject(Object)>>primitiveFailed|

|UndefinedObject(Object)>>instVarAt:put:|

|Error: Error: instVarAt:put: failed|

|See 
/home/hilaire/Travaux/Developpement/Cuis/Cuis-Smalltalk-Dev/CuisDebug-2021-04-29_14.22.45.log|

|29 April 2021 2:22:45.926454 pm|

|UndefinedObject(Object)>>error:|

|[] in WorldMorph>>displayWorldSafely|

|BlockClosure>>valueWithPossibleArgument:and:|

|[] in BlockClosure>>ifError:|

|BlockClosure>>valueWithPossibleArgument:|

|[] in [] in Error(Exception)>>evaluateHandlerBlock:|

|BlockClosure>>on:do:|

|[] in Error(Exception)>>evaluateHandlerBlock:|

|BlockClosure>>ifCurtailed:|

|Error(Exception)>>evaluateHandlerBlock:|

|MethodContext(ContextPart)>>evaluateSignal:|

|MethodContext(ContextPart)>>handleSignal:|

|Error(Exception)>>signalIn:|

|Error(Exception)>>signal|

|Error(Exception)>>signal:|

|UndefinedObject(Object)>>error:|

|UndefinedObject(Object)>>primitiveFailed:|

|UndefinedObject(Object)>>primitiveFailed|

|UndefinedObject(Object)>>instVarAt:put:|



-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210429/4569f552/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CuisDebug-2021-04-29_14.22.45.log
Type: text/x-log
Size: 8276 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210429/4569f552/attachment-0001.bin>


More information about the Cuis-dev mailing list