node ninja
node ninja

Reputation: 32986

How to see which functions in an xcode program are being called

I'm trying to understand an Objective-C program that I downloaded. It has a lot of functions and I'm interested in what is being called, and the order that the functions are being called in.

I can accomplish this by putting a printf statement at the beginning of each function, but there are a lot of them. Is there another way?

Upvotes: 1

Views: 71

Answers (1)

Diego Torres
Diego Torres

Reputation: 5308

You can use GDB and go step by step with breakpoints

http://www.cs.cmu.edu/~gilpin/tutorial/

Upvotes: 3

Related Questions