Skip to content

Commit

Permalink
Merge pull request beeware#126 from mcscope/patch-2
Browse files Browse the repository at this point in the history
Add how-to guide for how to see errors on iOS.
  • Loading branch information
freakboy3742 authored Mar 19, 2019
2 parents 4288f46 + 9ff13c0 commit f4b18c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Binary file added docs/how-to/PyStackTraceOnXCode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/how-to/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ How-to guides are recipes that take the user through steps in key subjects. They
:glob:

Contribute to Briefcase <contribute>
See errors on iOS <see_errors_on_ios>
12 changes: 12 additions & 0 deletions docs/how-to/see_errors_on_ios.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
See Errors on iOS
=========================

If you have a beeware iOS project that has a crash, it can be difficult to see the stacktrace. Here's how to do it -

1. Build your iOS project. You don't have to start it.

2. Open that iOS project in Xcode. Click the Run button (looks like an arrow) and wait for the simulator to open. Cause the app to crash.

3. Your stack trace ought to appear in the 'debugger area' at the bottom of the screen. If you can't see that area, you may have to activate it with ``View`` > ``Debug Area`` > ``Show Debug Area``

.. image:: PyStackTraceOnXCode.png

0 comments on commit f4b18c0

Please sign in to comment.