ios - Error Thread 1: Breakpoint 1.1 -
so getting thread error thread 1: breakpoint 1.1 in ibaction function. code runs without error, when click button on simulator, simulator crashes , produces breakpoint error. affected code is:
@ibaction override func prepareforsegue(segue: uistoryboardsegue, sender: anyobject!) { if testoesercizio.text == "per iniziare premi la tv" { var viewcontroller : secondoschermo = segue.destinationviewcontroller secondoschermo viewcontroller.stringaponte = "si buono" } else { var viewcontroller : secondoschermo = segue.destinationviewcontroller secondoschermo viewcontroller.stringaponte = "non buono" } } i don't have experience thread errors , getting bit frustrated trying fix problem. appreciated.
thanks
open breakpoint editor in xcode ⌘ + 7. there can see breakpoints on (as indicated dark blue) or off (with light blue). highly suspect have breakpoint set in method.
the term thread 1: breakpoint 1.1 debugger's internal name breakpoint (i assume you're reading green bar of text?). doesn't mean threading error, it's telling stopped.
you can press ^ + ⌘ + y continue, or go debug menu , select other options. ⇧ + ⌘ + y bring debug area , bar of buttons correlate debug menu's actions.
hth

Comments
Post a Comment