Re: Tracing an iPhone application/framework
Re: Tracing an iPhone application/framework
- Subject: Re: Tracing an iPhone application/framework
- From: Jonathan del Strother <email@hidden>
- Date: Tue, 19 Oct 2010 09:14:52 +0100
On 19 October 2010 04:38, Sandro Noël <email@hidden> 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@hidden)
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:
This email sent to email@hidden