Does anyone know of a really good tutorial, book or article on debugging using GDB for MacOS and iOS? Particularly something that covers the commands added by Apple such as “po” (print object) as well as standard GDB commands. Thanks!
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.
Have you tried gdb itself? You can type ‘help’ at a ‘(gdb)’ prompt to get a list of command categories, ‘help ‘ to get a list of commands in a given category, and ‘help ‘ to get help with a specific command. For example:
That’s not going to help you much if you’ve never debugged a program, but if you know what to do with a debugger it’s probably all you need.