Philipp Hofmann

Results 731 comments of Philipp Hofmann

@mbabin, I checked the transaction of your `WelcomeViewController`, and it only displays spans for `loadView` and `viewDidAppear`. Our instrumentation didn't capture any spans for `viewDidLoad`, `viewWillAppear`, `viewDidAppear` that it usually...

We could stop the frames tracker when the app goes into the background, which we currently don't do. This should be an easy fix. Thanks for pointing that out, @abbottkilroy.

I have no clue what could be causing this, but the Cocoa SDK causes it. I'm moving this to the sentry-cocoa repository.

Thanks for reporting this, @sindresorhus. We have to investigate this and get back to you.

@sindresorhus, do you use the `SentryCrashExceptionApplication` as pointed out in our [docs](https://docs.sentry.io/platforms/apple/guides/macos/usage/#capturing-uncaught-exceptions-in-macos)? If not, can you try and see if you get the `.reason` when using this approach?

I just tried to reproduce your issue with calling `UserDefaults.standard.register(defaults: ["NSApplicationCrashOnExceptions": true])` in the AppDelegate and then calling ``` let exception = NSException(name: NSExceptionName("My Custom exception"), reason: "User clicked the...

@sindresorhus, it turns out we wrote the reason into the wrong field when writing the crash report, so https://github.com/getsentry/sentry-cocoa/pull/3705 could surface your missing reasons. If it doesn't, please reopen this...

> One alternative solution is to serialize the addresses and symbolicate them in the next session, since we only capture the crash data during the next session anyway The problem...

We should consider completely removing `sentrycrashdl_dladdr` / local symbolication because isn't async safe and causes problems such as deadlocks https://github.com/getsentry/sentry-cocoa/issues/4056 and the watchdog killing apps using the Cocoa SDK https://github.com/getsentry/sentry-cocoa/issues/3687....

This is slightly related to https://github.com/getsentry/sentry-cocoa/issues/3616, because that issue included adding a sample widget to our sample app.