-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
getsentry/sentry-javascript
#14643Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Electron SDK Version
5.4.0
Electron Version
31.4.0
What platform are you using?
MacOS
Link to Sentry event
No response
Steps to Reproduce
- open anr when init
// main
Sentry.init({
...SENTRY_OPTIONS,
transportOptions: {
/**
* Called before we attempt to send an envelope to Sentry.
*
* If this function returns false, `shouldStore` will be called to determine if the envelope should be stored.
*
* Default: () => true
*
* @param envelope The envelope that will be sent.
* @returns Whether we should attempt to send the envelope
*/
shouldSend: () => enabled,
},
integrations: [
Sentry.anrIntegration({ captureStackTrace: true }),
],
});
// renderer
Sentry.init({
...SENTRY_OPTIONS,
// enable sentry tracing
integrations: [Sentry.browserTracingIntegration()],
// set 0.1 sample rate for traces, only send 10% of traces, and check whether the limit is exceeded
// https://konghq.sentry.io/settings/billing/overview/?category=transactions
tracesSampleRate: 0.1,
anrDetection: {
captureStackTrace: true,
},
});
- add
debuggerin jscode in renderer process - open devtool and can not hit breakpoint
- after close anr option, if can stop at breakpoint
Expected Result
stop at breakpoint
Actual Result
can not stop at breakpoint
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
No status