Skip to content

Instantly share code, notes, and snippets.

@Pegolon
Created July 15, 2015 10:40
Show Gist options
  • Select an option

  • Save Pegolon/0ff649190ddf80901912 to your computer and use it in GitHub Desktop.

Select an option

Save Pegolon/0ff649190ddf80901912 to your computer and use it in GitHub Desktop.
Start app with lldb
# Select Xcode
sudo xcode-select --switch /Applications/Xcode.app/
# run app with lldb
xcrun lldb ...path to application.../Contents/MacOS/binaryname
(lldb) run
# pause app
ctrl+c
# show stacktraces of all running thread
thread backtrace all
# continue app
continue
# exit lldb
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment