Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Files to download  :  Links for developers  :  Privacy policy  :  Web Resources  :  Polls  
    MacOSX Guru Site Information, tips and tricks, FAQ for Mac OS X developers    
 Welcome to MacOSX Guru Site
 Friday, December 15 2017 @ 09:33 PM UTC

Examining the call stack

   
Objective-CHow can I exam the call stack programatically to find out which object's method called another method?

There are at least 3 ways to get a stack call from an Objective-C application:
- use the NSException mechanism;
- launch an "atos" task;
- use Mach-O routines to look inside code segment.
You put here an example to demonstrate the techniques.
 

What's Related

Story Options

Examining the call stack | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2017 MacOSX Guru Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.04 seconds