Hi,

Maybe I am missing something, but could you just put the recording code in 
the constructor itself?

type Foo
    x::Int

    function Foo(x)
        record_Foo()
        new(x)
    end
end


Reply via email to