How can I most easily find the point in my code where this one starts (ie, "Program Receive Signal: EXC_BAD_ACCESS")?
When I get this and I look in the console, I do not see any additional information, such as a stack trace in this case. I know that I can put breakpoints through the code and try to go through to find, however, if there is a way to more easily find out without a lot of breakpoints and go through it would be great.
EDIT 1 - Re-typing backtrace in (re this answer), I see it that doesn't seem to quite emphasize the meaning of my code?
(gdb) backtrace #0 0x00fd7a63 in objc_msgSend () #1 0x06019780 in ?? () #2 0x0046cf16 in -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] () #3 0x0046a9e7 in -[UITableViewRowData numberOfRows] () #4 0x003218c2 in -[UITableView noteNumberOfRowsChanged] () #5 0x0032e2b8 in -[UITableView reloadData] () #6 0x0032b470 in -[UITableView layoutSubviews] () #7 0x01d33451 in -[CALayer layoutSublayers] () #8 0x01d3317c in CALayerLayoutIfNeeded () #9 0x01d2c37c in CA::Context::commit_transaction () #10 0x01d2c0d0 in CA::Transaction::commit () #11 0x01d5c7d5 in CA::Transaction::observer_callback () #12 0x00e56fbb in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ () #13 0x00dec0e7 in __CFRunLoopDoObservers () #14 0x00db4bd7 in __CFRunLoopRun () #15 0x00db4240 in CFRunLoopRunSpecific () #16 0x00db4161 in CFRunLoopRunInMode () #17 0x017aa268 in GSEventRunModal () #18 0x017aa32d in GSEventRun () #19 0x002c342e in UIApplicationMain ()
source share