Improve stack trace code.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-12-05 16:13:24 +00:00
parent e24539d8ab
commit 018a948926
5 changed files with 107 additions and 72 deletions

View file

@ -83,9 +83,10 @@ extern "C" {
*/
@interface NSException : NSObject <NSCoding, NSCopying>
{
@private
NSString *_e_name;
NSString *_e_reason;
NSDictionary *_e_info;
void *_reserved;
}
/**
@ -116,6 +117,14 @@ extern "C" {
format: (NSString*)format
arguments: (va_list)argList;
#if OS_API_VERSION(100500,GS_API_LATEST) && GS_API_VERSION(011501,GS_API_LATEST)
/** Returns an array of the call stack return addresses at the point when
* the exception was raised. Re-raising the exception does not change
* this value.
*/
- (NSArray*) callStackReturnAddresses;
#endif
/**
* <init/>Initializes a newly allocated NSException object with a
* name, reason and a dictionary userInfo.