зеркало из https://github.com/mozilla/gecko-dev.git
Bug 905428 - Use hex addresses when symbolicating Obj-C exceptions. r=dougt, r=bsmedberg
This commit is contained in:
Родитель
44ef6357a7
Коммит
5444112ff2
|
@ -84,8 +84,11 @@ static void nsObjCExceptionLog(NSException* aException)
|
|||
|
||||
unsigned int stackCount = [stackTrace count];
|
||||
unsigned int stackIndex = 0;
|
||||
for (; stackIndex < stackCount; stackIndex++)
|
||||
[args addObject:[[stackTrace objectAtIndex:stackIndex] stringValue]];
|
||||
for (; stackIndex < stackCount; stackIndex++) {
|
||||
NSUInteger address =
|
||||
[[stackTrace objectAtIndex:stackIndex] unsignedIntegerValue];
|
||||
[args addObject:[NSString stringWithFormat:@"0x%lx", address]];
|
||||
}
|
||||
|
||||
NSPipe *outPipe = [NSPipe pipe];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче