On 1 May 2013 01:50, Camillo Bruni <camillobr...@gmail.com> wrote:
> How to record a complete system change in Pharo?
>
> http://stackoverflow.com/questions/16310736/how-to-record-a-complete-system-change-in-pharo
>
> That must have been done somewhere in once of those fancy analysis tools, no?

Here's troll's answer:
 - snapshot image before change
 - snapshot after
 - do a binary diff

;)

because, without limiting the scope of observed changes, this is the only way.

Another troll's answer:
  - find a way to properly track changes of code which tracking changes.

means that:

oldEnvironment := Environment current serialize.
changeBlock value.
"here, Environment may not exist anymore, or don't understand #current
nor #difference: "
diff := oldEnvironment difference: Environment current


if you can do that, then you can do anything else, i believe.

:)

-- 
Best regards,
Igor Stasenko.

Reply via email to