10

I've been wondering but haven't found anywhere an useful list of commands that are useful in Xcode.

One I know, and I use a lot is Backtrace which the input command is bt , after you encounter an app crash after uncaught exceptions it sometimes gives an int where the problem could be.

Can you share more useful commands that become handy and could let us interact with the debugger and the app itself?

Thank you

Ivan Cantarino
  • 3,058
  • 4
  • 34
  • 73

1 Answers1

11

You can find it in Apple documentation: Debugging with Xcode

or check this: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/gdb_to_lldb_transition_guide/document/lldb-command-examples.html

Bisca
  • 6,380
  • 2
  • 19
  • 32