Useful Xcode DEBUG commands to use in console
Asked Answered
R

1

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

Rokach answered 19/7, 2017 at 14:58 Comment(0)
H
10

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

Houseless answered 19/7, 2017 at 15:4 Comment(1)
ohh thank you, didn't knew Apple gave such detailed documentation on that subject. ;)Rokach

© 2022 - 2024 — McMap. All rights reserved.