Excellent tip!!

Alexandre


On Nov 4, 2012, at 2:37 PM, Benjamin <[email protected]> 
wrote:

> In Pharo 1.4, browse Morph
> Find the method fullDrawOn:
> 
> and replace
> 
> on: Error do: [:err |
>               self setProperty: #errorOnDraw toValue: true.
>               self setProperty: #drawError toValue: err freeze.
>               ^ self drawErrorOn: aCanvas
>       ]
> 
> by:
> value
> 
> Now you will have a debugger instead of the red square of death
> 
> But do it at you own risk ^^
> Ben
> 
> On Nov 4, 2012, at 6:04 PM, laurent laffont wrote:
> 
>> Hi,
>> 
>> sometimes I have a PluggableListMorph that displays a big red square (see 
>> attached screenshot). How can I debug why this happens ?
>> 
>> <image.png>
>> 
>> Cheers,
>> 
>> Laurent
> 
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to