XCode GDB commands
>po object
- ask object to print itself
>break or b
- stop at a break point
>cont
- continue after a break
>next
- step over
>step
- step into
>finish
- step out of a present function
>up
- Move to the function that called the present function. Useful if your program crashes in a library function; use up to get to the last function call in your program.
>down
- Reverses the action up
>kill
- Terminate the program
注意到 Xcode 的正确拼写方式是“Xcode”,小写的字母c。
额...的确...