Andreas Linde
6a69888b49
Merge branch 'refs/heads/develop' into feature/enableAppNotTerminatingCleanlyDetection
2014-02-18 17:15:07 +01:00
Andreas Linde
3b9f38fd16
Fix a crash if no selector could be found
2014-02-18 16:03:11 +01:00
Andreas Linde
94ce869993
Merge branch 'refs/heads/develop' into feature/LowMemoryKills
2014-02-12 23:48:07 +01:00
Andreas Linde
ab241aaa1f
Show the selector name found in the current argument registers in crash reports, helpful e.g. for crashes in objc_msgSend
...
This is a safe implementation with only hard wiring the necessary bits for where objc_msgSend stores the receiver objects based on the CPU architecture. From: http://sealiesoftware.com/blog/archive/2008/09/22/objc_explain_So_you_crashed_in_objc_msgSend.html
In the mid/long term, PLCrashReporter will include this directly.
2014-02-12 12:26:02 +01:00
Andreas Linde
0cfa00924c
Add enableDectionAppKillWhileInForeground
option to BITCrashManager
...
This option implements basic heuristics to detect if the app got killed by the iOS watchdog while running in foreground, which can only happen if:
- The app tried to allocate too much memory
- Main thread doesn't respond for some time
It is not possible to detect all cases where such kills can occur.
2014-02-10 01:06:59 +01:00
Andreas Linde
235f7ac9fe
Updated copyright for 2014
2014-01-12 19:25:22 +01:00
Andreas Linde
292d9abc0d
Bring back date format and timestamp of crash reports to be always identical no matter what locale is set
...
This was introduced in 4dbbef38e2
but when merging PLCR changes back in it accidentally got removed
2013-12-17 01:34:13 +01:00
Andreas Linde
b2618ad31a
Don't use a category in BITCrashReportTextFormatter
...
This allows the framework to be used inside another framework.
2013-11-05 19:52:37 +01:00
Andreas Linde
3225f462e9
Fix a bug when creating crash report textual representation
...
It was working always before, but isn't actually correct.
2013-11-05 15:47:49 +01:00
Andreas Linde
5d6c405a46
Small fix in the crash report text formatter
2013-10-19 16:04:59 +02:00
Andreas Linde
d85ca9a58e
Add namespace to local methods and make the C function static to avoid linker problems when adding similar libraries using PLCR
2013-09-29 17:54:18 +02:00
Andreas Linde
6ac703e3d7
Add ARM-64 as code type for crash reports
2013-09-21 23:46:47 +02:00
Andreas Linde
64d7700ad7
Add CPU_SUBTYPE_ARM_ALL to identify arm64, just in case
...
OS X lipo is returning this subtype, but we don't know for sure until we have a device
2013-09-16 14:27:41 +02:00
Kent Sutherland
aeb64a7da4
Pulled architecture detection out into a separate method to eliminate duplicate code.
...
Added break for CPU_SUBTYPE_ARM_V8 to avoid falling through to the default case.
2013-09-13 15:20:22 -04:00
Andreas Linde
955fe9c2eb
Documentation updates and fixes
2013-09-13 17:29:00 +02:00
Andreas Linde
04c2976fd4
Add ARM64 define if not present on the build system
2013-09-12 18:40:42 +02:00
Andreas Linde
65bc6327c0
Add arm64 identification to crash report text generation
2013-09-12 12:56:22 +02:00
Andreas Linde
151f311563
Make sure to call substringToIndex when creating the crash report in text format only if the path string actually is not empty
...
How this could ever happen is beyond my imagination
2013-08-13 02:49:28 +02:00
Andreas Linde
b6c77b8fb3
Integrate first test version of PLCrashReporter v1.2 with BIT namespace
...
Fixes #37
2013-07-21 21:11:22 +02:00
Andreas Linde
f14153c388
Fix converting long executable names
...
The name should have a space at the end, so it is separated from the address field
2013-03-25 19:12:29 +01:00
Andreas Linde
9f2f40bc06
Update copyright
2013-01-04 14:44:44 +01:00
Andreas Linde
a6b9ddc638
Make sure crash reports incident identifier and key don't have special [] chars and some value
...
The previously shows [] as part of [TODO], since PLCrashReporter didn't fill them out. Having the incident identifier showing a [ or ] char made it impossible to drag it into the Organizer to get it symbolicated in there
2012-12-06 18:52:06 +01:00
Andreas Linde
f211182f49
Add anonID to crash reports
...
CrashReporter Key is actually an anonymous ID for each device/installation where the crash occurred
2012-11-27 02:37:47 +01:00
Andreas Linde
4dbbef38e2
Format date and timestamp of crash reports to be always identical no matter what locale is set
2012-11-09 13:36:23 +01:00
Andreas Linde
5428df4f45
Fix checking for new PLCrashReporter properties being available
2012-09-27 21:58:55 +02:00
Andreas Linde
19e956045e
Fix for compiler warning about comparing NSInteger and NSUInteger
...
Thanks to @pburleson
2012-09-21 21:13:31 +02:00
Andreas Linde
973654b152
Use correct armv7s architecture in UUID xml tag
2012-09-13 13:51:57 -06:00
Andreas Linde
cf28589eff
Add support for armv7s to the crash report text formatter
2012-09-12 20:14:36 -06:00
Andreas Linde
4707e0c8d1
Make sure the app doesn't crash, if the developer forgot to delete the old PLCrashReporter framework and the framework search path is still pointing to it
...
If the framework search path still has the path to an older PLCrashReporter framework set and that is set before the path to HockeySDK, then it would link against the old one causing the app to crash when trying to send a bug report, because the old PLCrashReporter version is missing some new properties.
2012-08-20 13:14:29 +02:00
Andreas Linde
17718e7d44
Make sure the binaryImageSort for crash reports is static and doesn't cause link conflicts
2012-08-08 20:16:45 +02:00
Andreas Linde
8920cbc6c4
More documentation updates
2012-07-22 04:08:40 +02:00
Andreas Linde
671060929c
Refactoring
...
- Change Prefixes to BIT
- Make one shared instance and change the functionalities to modules
- One bundle for resources
- Targets for framework and static libs
- Other cleanup
2012-07-19 17:17:19 +02:00