Re: How to get source name/line number of backtrace?
Re: How to get source name/line number of backtrace?
- Subject: Re: How to get source name/line number of backtrace?
- From: Jens Alfke <email@hidden>
- Date: Wed, 4 Nov 2009 10:28:54 -0800
On Nov 4, 2009, at 1:14 AM, Samuel DELMONT wrote:
I get the name of the function and its arguments but I would like to
have the source file's name and the line number of each address of
the stack. I know that gdb can do this with "info line *addr", but I
want to do it programmatically.
I got the symbolic information from the stack frame pointers by
invoking the 'atos' tool. Kind of a kludge but it works. See the
method my_callStack in
http://bitbucket.org/snej/myutilities/src/tip/ExceptionUtils.m
—Jens _______________________________________________
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