How can I trace the method calls and their sequence while a iPhone app is running? Which Instrument I should use?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No Instrument does this directly. A couple of options to get this kind of information:
1) Set a breakpoint in the debugger. You can then trace the execution with the “step over” “step into” and “step out” buttons.
2) Put NSLogs at the places in your code that interest you:
You can then read the NSLogs in the console.