Hi guys,

I am using Spy for my project, and I need to do something which, on top of my 
knowledge, is not supported.

Here is the point: Spy allows to insert code before (#beforeRun:with:in:) and 
after (#afterRun:with:in:) and works perfectly.

Now suppose I want to inject some code *inside* the method, e.g.,

aMethodToBeProfiled

        do something

        "Injected code accessing some fields of the current instance of this 
object”
        Transcript show: self field asString.

Is there any support for this?

Thanks in advance,
R


Reply via email to