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

Update Debug Information Files Documentation #1019

Open
tsekiguchi opened this issue Nov 17, 2024 · 6 comments
Open

Update Debug Information Files Documentation #1019

tsekiguchi opened this issue Nov 17, 2024 · 6 comments
Assignees

Comments

@tsekiguchi
Copy link

Currently, there's a lot of in depth documentation about uploading our own debug files. However, as mentioned over in sentry-cli, this issue has been mostly resolved by adding electron to the debug frameworks.

This is a great solution - however, this is not mentioned anywhere in the current Electron docs, which led me on a long quest to find and unsuccessfully upload dSYM files to Sentry.

For future users, can we please update the documentation to include information about this very important option?

And even better, is there a way to have this auto-enabled for all electron projects? :)

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 17, 2024
@timfish timfish self-assigned this Nov 18, 2024
@timfish
Copy link
Collaborator

timfish commented Nov 18, 2024

At the docs here:
https://docs.sentry.io/platforms/javascript/guides/electron/#debug-information

It says:

Debug Information

To get symbolicated stack traces for native crashes, you should enable fetching debug symbols from the Electron symbol server. Go to Project Settings > Debug Files and add Electron to the list of built-in repositories.

If your app uses a custom Electron fork, contains modules with native extensions or spawns subprocesses, you should upload those symbols manually using the Sentry CLI. For more information, see Native Usage.

Which part of the docs did you land on that we could add a link to this?

@tsekiguchi
Copy link
Author

Ah, I didn't see it there! Apologies on my end for missing that.

I was looking in this section here:
https://docs.sentry.io/platforms/javascript/guides/electron/data-management/debug-files/

When I searched for 'debug' in the docs, this section was pulled up, and actually I don't see the section you're linking to anywhere in the top results.

Image

Also, in the section you referenced, I don't want to be too elementary, but it helped to have the screenshot to help give some extra emphasis to it. It would be easy to miss as it is. :)

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 18, 2024
@andreiborza
Copy link
Member

@tsekiguchi that's indeed pretty hard to find. This is probably related to getsentry/sentry-docs#11699, we're aware of it and we'll be working on that soon.

As for adding a screenshot, I think that's a good idea. Is this something you might want to contribute over at https://github.com/getsentry/sentry-docs? No pressure though, we can certainly take care of that.

@timfish
Copy link
Collaborator

timfish commented Nov 19, 2024

I think there might have also been some discussions over whether we can have these debug repositories automatically enabled when users select Electron as a project type.

@tsekiguchi
Copy link
Author

Thank you @andreiborza ! I'd be happy to submit a PR for an updated portion of the docs. I'm poking around right now, what the standardized way to add screenshots in the .mdx files?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 19, 2024
@andreiborza
Copy link
Member

@tsekiguchi cool, thanks!

For images, you can create an img folder relative to the mdx file and use markdown image syntax. For example: https://github.com/getsentry/sentry-docs/blob/1715fe49162cc3b55a2ddafb8f3f251a524afa35/docs/product/codecov/how-it-works.mdx

Let me know if you need any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants