• 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: Determining if a function is being called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining if a function is being called


  • Subject: Re: Determining if a function is being called
  • From: Rick Mann <email@hidden>
  • Date: Fri, 04 Jan 2013 21:00:47 -0800

I realize, yes, it should, since apps are their own process in the sim.

On Jan 4, 2013, at 20:37 , Ken Thomases <email@hidden> wrote:

> On Jan 4, 2013, at 9:05 PM, Rick Mann wrote:
>
>> On Jan 4, 2013, at 18:53 , Joar Wingfors <email@hidden> wrote:
>>
>>> Have you considered using DTrace for this?
>>
>> Nope, I really don't know what the best tool is.
>
> sudo dtrace -n 'pid$target:someLibraryName::entry' -p <some PID>
>
> You can include wildcards in someLibraryName using '*' or '?'.  You can also put a pattern to limit functions between the two adjacent colons (the third position of the probe specifier).
>
> You can also have DTrace launch the program instead of monitoring one that's already running by replacing '-p <PID>' with '-c <command>', but be aware that the command will run as root.  That can be dangerous and it can also change the program's behavior.
>
> Regards,
> Ken
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


--
Rick




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Determining if a function is being called (From: Rick Mann <email@hidden>)
 >Re: Determining if a function is being called (From: Joar Wingfors <email@hidden>)
 >Re: Determining if a function is being called (From: Rick Mann <email@hidden>)
 >Re: Determining if a function is being called (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Determining if a function is being called
  • Next by Date: Re: Determining if a function is being called
  • Previous by thread: Re: Determining if a function is being called
  • Next by thread: Re: Determining if a function is being called
  • Index(es):
    • Date
    • Thread