Created
December 10, 2013 19:52
-
-
Save zgramana/7897043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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