Skip to content

Instantly share code, notes, and snippets.

@zgramana
Created December 10, 2013 19:52
Show Gist options
  • Save zgramana/7897043 to your computer and use it in GitHub Desktop.
Save zgramana/7897043 to your computer and use it in GitHub Desktop.
If you want to debug your Xamarin app using LLDB to get a backtrace, then do the following:
1) Clone https://github.com/zgramana/ios-deploy (or download https://www.dropbox.com/s/8fl1t1qc5fdg5tn/ios-deploy)
2) Run `make` inside that folder.
3) Run `./ios-deploy -d -b path/to/bin/iPhone/Debug/MyFoo.app`
This will install your app and start it will lldb attached.
From the lldb prompt:
Add your breakpoint:
1) breakpoint set --file CBLDatabase+Internal.m --line 560
2) target stop-hook add
3) bt
4) DONE
5) run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment