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.

screenshot of breakpoint

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:

  1. go breakpoints tab (view > navigators > show breakpoint navigator or ⌘7).
  2. right click on all exceptions breakpoint , "edit breakpoint..."

edit breakpoint

  1. change exceptions covered objective-c only.

enter image description here


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -