Re: Stack trace queryable?
Re: Stack trace queryable?
- Subject: Re: Stack trace queryable?
- From: Greg Hurrell <email@hidden>
- Date: Mon, 3 Jan 2005 21:55:36 +0100
El 29/12/2004, a las 15:55, Geoffrey Schmit escribió:
On 27/12/2004 at 8:08 PM, email@hidden (Christian
Schmitz) wrote:
can a function get the list of which functions called itself for debug
purpose?
You see a stack trace in the crash report every time so I ask
myself if this list of function names can be queried inside a
thread so I could add it to an exception object.
MoreBacktrace does:
<http://developer.apple.com/samplecode/MoreIsBetter/listing41.html>
Unfortunately, I wasn't able to get MoreBacktraceTest to compile, at
least under Mac OS X 10.3.7/Darwin 7.7.0, so can't confirm that it
works. The MoreIsBetter library itself does seem to compile, but the
test program doesn't. It complains that it can't find MoreMemory.h
while compiling MoreControls.cp:
../../MoreControls/MoreControls.cp:89:24: MoreMemory.h: No such file
or directory
No idea why this might be so because the other files included from
MoreControls.cp are found without any problems. If I cheat by copying
MoreMemory.h over into the MoreControls directory, then the project
compiles but doesn't link:
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_MoreMemError
Greg
_______________________________________________
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