ios - Xcode 7: exception breakpoint firing in `main.m`, but app runs normally -
i've set "all exceptions" exception breakpoint project. in xcode 7, mysteriously fires on launch in main.m
, there doesn't seem wrong. on continuing, app runs normally.
even running project in xcode 6 causes breakpoint fire.
i can't figure out causing this. threads don't indicate specific cause is.
maybe it's sort of font issue in storyboard or something? know fix?
note: it's c++ exception, not objective-c. perhaps due missing fonts. xcode throws exception in main() in ios 8 'all exceptions' breakpoint
i have identical problem in xcode 7, of beta 3. workaround solved me.
because it's c++ exception, can change "all exceptions" breakpoint catch objective-c exceptions. having done this, no longer hit mystery break on startup, , because i'm not writing c++, 99% of value of having "all exceptions" break point on.
here's how:
- go breakpoints tab (view > navigators > show breakpoint navigator or ⌘7).
- right click on
all exceptions
breakpoint , "edit breakpoint..."
- change exceptions covered
objective-c
only.
Comments
Post a Comment