On 19 October 2010 04:38, Sandro Noël <[email protected]> wrote:
> Greetings.
>
> The lead developer at my workplace left his brainchild behind but forgot to
> write any documentation for it.
> the framework is now quite unusable because it is quite extensive an no one
> knows the depth of it's architecture.
>
> I am mandated to document this framework. (Joy!)
>
> The "framework" is built as a template application from which
> classe/functions can be overloaded to fit the needs of the being built
> application.
> not much of an architecture if you ask me but i have to document it none the
> less.
>
> Is there any application out there or method in Xcode where I could trace
> every function call and figure out what object is being called and what
> function, thru out the first run of an application using that framework?
>
Perhaps you could look into dtrace? For example :
sudo dtrace -q -n 'objc999:::entry { printf("%s %s\n", probemod, probefunc); }'
will print the class & method of all objective-c calls of process 999.
Might need some filtering though...
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]