Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to use Mach exception handler by default #637

Merged
merged 4 commits into from
Jun 26, 2017

Conversation

jaeklim
Copy link
Contributor

@jaeklim jaeklim commented Jun 21, 2017

There will be a separate doc PR in doc repo.

@codecov-io
Copy link

codecov-io commented Jun 21, 2017

Codecov Report

Merging #637 into develop will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #637      +/-   ##
===========================================
- Coverage     92.9%   92.85%   -0.05%     
===========================================
  Files          207      207              
  Lines        14508    14510       +2     
  Branches       841      841              
===========================================
- Hits         13478    13473       -5     
- Misses        1017     1024       +7     
  Partials        13       13
Impacted Files Coverage Δ
...Crashes/MobileCenterCrashesTests/MSCrashesTests.mm 100% <100%> (ø) ⬆️
...bileCenterCrashes/MobileCenterCrashes/MSCrashes.mm 86.97% <100%> (+0.31%) ⬆️
...er/MobileCenter/Internals/Device/MSDeviceTracker.m 94.64% <0%> (-2.98%) ⬇️
...eCenter/MobileCenterTests/MSIngestionSenderTests.m 95.96% <0%> (-0.85%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c687c9b...9f23cad. Read the comment docs.

Copy link
Contributor

@iamclement iamclement left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor comments.

* The SDK will not check if the app is running in an AppStore environment or if a debugger is attached because some
* developers chose to do both at their own risk.
* `[MSCrashes disableMachExceptionHandler]`;
* `[MSMobileCenter start:@"YOUR_APP+_ID" withServices:@[[MSCrashes class]]];`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"YOUR_APP_ID", a + sign sneaked into it ^^.

* `[MSCrashes enableMachExceptionHandler]`;
* `[MSMobileCenter start:@"YOUR_APP+_ID" withServices:@[[MSCrashes class]]];`
* `MSCrashes.disableMachExceptionHandler()`
* `MSMobileCenter.start("YOUR_APP+_ID", withServices: [MSAnalytics.self, MSCrashes.self])`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here: "YOUR_APP_ID".

Copy link
Contributor

@ElektrojungeAtWork ElektrojungeAtWork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change and we need to bump the version because of that.

@jaeklim
Copy link
Contributor Author

jaeklim commented Jun 26, 2017

Good point @TroubleMakerBen. I also updated the version.

@jaeklim jaeklim merged commit 417b542 into develop Jun 26, 2017
@jaeklim jaeklim deleted the feature/enable-mach-exception-by-default branch June 26, 2017 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants