[NSThread callStackSymbols] weirdness
[NSThread callStackSymbols] weirdness
- Subject: [NSThread callStackSymbols] weirdness
- From: Trygve Inda <email@hidden>
- Date: Wed, 03 Feb 2016 23:28:55 -0800
- Thread-topic: [NSThread callStackSymbols] weirdness
I am trying to track down a difficult bug on a customer's machine.
I have inserted [NSThread callStackSymbols] at a critical place in the app
where I want to see how it got there.
When running a debug version, either in the debugger or not, I see:
2/3/16 10:53:51.070 PM MyApp Core[22398]: (
0 MyApp Core -[MyClass dealloc] + 115
1 MyApp Core -[MyClass doSomething:] + 234
2 MyApp Core -[MyClass doStuff:] + 292
3 CoreFoundation __CFNOTIFICATIONCENTER_IS_CALLING_OUT + 12
4 CoreFoundation ___CFXRegistrationPost_block_invoke + 63
When running a release version, even with stripping turned off, I see:
2/3/16 10:57:33.978 PM MyApp Core[23142]: (
0 MyApp Core MyApp Core + 81817
1 CoreFoundation __CFNOTIFICATIONCENTER_IS_CALLING_OUT + 12
2 CoreFoundation ___CFXRegistrationPost_block_invoke + 63
My guess is that it is still being stripped somewhere, but why do I get to
see 3 method calls in my own app in the first example, but only the last
call in the second example?
Thanks,
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden