ios - How to make Xcode 8.2.1 show the line that causes an exception? -
i have figured out line of codes caused exception. however, when ran again couple times, highlighted line main class located not actual line caused exception.
also indeed, have tried lots of solutions introduced other developers, such
go preferences > behavior > exits unexpectedly > choose show line... or click product tab > scheme > edit scheme > check "zombie objects" box or created exception breakpoint on left.
whatever did, none of methods above worked. please !!! in advance !
open breakpoint navigator on left side view (seventh icon), click + button on left down corner, select exception breakpoint, choose "all" on "exception" option, catch on break, , run project in debug mode.
Comments
Post a Comment