Hi
I’m following the this tutorial to try and debug my app on my local device. I can’t seem to work out where the problem is. I have sync’d my device and am viewing it through XCode, so I expected to see the functions within “MyApp” that have caused the problem. But only some functions are listed. The rest are raw HEX I believe
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000010046c448
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libswiftCore.dylib 0x000000010046c448 0x100314000 + 1410120
1 libswiftCore.dylib 0x000000010046c448 0x100314000 + 1410120
2 libswiftCore.dylib 0x0000000100335574 0x100314000 + 136564
3 libswiftCore.dylib 0x000000010034672c 0x100314000 + 206636
4 MyApp 0x00000001000c6cb8 0x100098000 + 191672
5 MyApp 0x00000001000c6da4 0x100098000 + 191908
6 UIKit 0x000000018c883114 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 688
7 UIKit 0x000000018c88332c -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 80
8 UIKit 0x000000018c870a30 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2152
9 UIKit 0x000000018c88831c -[UITableView _performWithCachedTraitCollection:] + 120
10 UIKit 0x000000018c62092c -[UITableView layoutSubviews] + 176
11 UIKit 0x000000018c53b158 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1200
12 QuartzCore 0x000000018972b274 -[CALayer layoutSublayers] + 148
13 QuartzCore 0x000000018971fde8 CA::Layer::layout_if_needed(CA::Transaction*) + 292
14 QuartzCore 0x000000018971fca8 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32
15 QuartzCore 0x000000018969b360 CA::Context::commit_transaction(CA::Transaction*) + 252
16 QuartzCore 0x00000001896c23c0 CA::Transaction::commit() + 504
17 QuartzCore 0x00000001896c2e8c CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120
18 CoreFoundation 0x00000001863bc9a0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
19 CoreFoundation 0x00000001863ba628 __CFRunLoopDoObservers + 372
20 CoreFoundation 0x00000001863baa74 __CFRunLoopRun + 956
21 CoreFoundation 0x00000001862ead94 CFRunLoopRunSpecific + 424
22 GraphicsServices 0x0000000187d54074 GSEventRunModal + 100
23 UIKit 0x000000018c5a3130 UIApplicationMain + 208
24 MyApp 0x00000001000f0414 0x100098000 + 361492
25 libdyld.dylib 0x00000001852f959c start + 4
I looked on StackOverflow and found this answer to what the reason itself is: ios - My app is rejected with Exception EXC_BREAKPOINT (SIGTRAP) - Stack Overflow
Does that seem right as the reason of the error and how do I find out where in the app the error is occurring?