Re: Tracing the stack
Re: Tracing the stack
- Subject: Re: Tracing the stack
- From: Wade Tregaskis <email@hidden>
- Date: Tue, 25 Mar 2008 16:45:58 -0700
Is there any way in Cocoa/objective C to record a trace of the
stack at run-time without stopping the application in the debugger.
I'm experiencing sporadic activity in my program which is proving
to be _very_ difficult to track down.
If you mean programmatically, try 'man backtrace'. If you mean you'd
like to record a trace of your program's execution, then you should
investigate 'man gprof', and Saturn (part of the CHUD tools).
Alternatively (or additionally), depending on your problem, dtrace may
be very useful - see http://solaris.reys.net/english/2005/02/dtrace_pid_provider
for an idea of how that would work.
Wade
_______________________________________________
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