Generate test crash wiki out of date
mannix opened this issue · 1 comments
mannix commented
On this wiki page:
https://github.com/Microsoft/ApplicationInsights-iOS/wiki/How-to-Generate-a-Test-Crash
The code snippet for triggering a crash is out of date. Instead of:
[[[MSAIApplicationInsights sharedInstance] crashManager] generateTestCrash];
It should be*
[[MSAICrashManager sharedManager] generateTestCrash];
* I haven't actually tested this in objc. I'm writing mine in Swift and this worked for me:
MSAICrashManager.sharedManager().generateTestCrash()
lumaxis commented
You're absolutely right. Fixed, thanks! 👍