• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tracing an iPhone application/framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Tracing an iPhone application/framework (From: Sandro Noël <email@hidden>)

  • Prev by Date: [SOLVED] Re: [Distant Objects] Problem passing custom objects bycopy
  • Next by Date: Invitation to connect on LinkedIn
  • Previous by thread: Tracing an iPhone application/framework
  • Next by thread: Re: Tracing an iPhone application/framework
  • Index(es):
    • Date
    • Thread