[Pharo-users] Recovery log thoughts
cpmbailey at btinternet.com
Mon Jul 23 16:34:10 EDT 2012
On 23/07/2012 07:58, Stéphane Ducasse wrote:
> On Jul 22, 2012, at 9:23 PM, Chris wrote:
>> One area I see some beginners struggle with image development is with regards to losing work, and I feel that Pharo's recovery log could be improved to help with this.
> yes :)
> Now that we have ring we should start rethinking source management but this will not be for 2.0
> except if somebody come up with a good and working solution.
>> Two scenarios that come to mind are firstly where methods are filed in that created an instance variable at method save the first time round. These log to the transcript that the variable is now undeclared, but that can go unseen, and the result is things appearing to work while you only have one instance of that object. Could this bring up a similar prompt maybe? Another difficulty is that you can not simply file in all selections as any do-it's which were done in a different context will fail. Is there any way we can differentiate the important do-it's such as class definitions, selector removes and so on from the rest?
> I would really like to have a structured logger and not just a flow of text.
That sounds great for the long term, but was wondering if there were any
good ideas in the meantime! I could only think of applying do-it's if it
starts with a class name for example.
More information about the Pharo-users