Code to walk a process stack?
Code to walk a process stack?
- Subject: Code to walk a process stack?
- From: Thomas Engelmeier <email@hidden>
- Date: Wed, 3 Aug 2005 01:14:30 +0200
I'd like the ability to dynamically know how a certain function was
called within a program. That is, I'd >like to be able to walk the
stack and see a trace of all the calls. There were some code
snippets for >doing this under the old MacOS, but I haven't been
able to root one out myself. Can anyone suggest a >place to look?
MoreIsBetter has some pretty basic code for Mach-O stacktraces:
<http://developer.apple.com/samplecode/MoreIsBetter/MoreIsBetter.html>
I'm not sure if it also works with plain Darwin calls.
HTH,
Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden