sentry icon indicating copy to clipboard operation
sentry copied to clipboard

When I use debug mode to track my source code, but it is invalid

Open KobeZhou opened this issue 7 months ago • 6 comments

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

What are you trying to accomplish?

I want to track the source by debug IDs when having bugs.

How are you getting stuck?

@sentry/webpack-plugin": 3.4.0 @sentry/react: 9.19.0

 sentryWebpackPlugin({
          org: 'sentry',
          project: 'xx‘,
          debug: true,
          authToken: 'xx',
          url: 'xx',
          sourcemaps: {
            filesToDeleteAfterUpload: ['./build/**/**/*.map'],
            ignore: ['node_modules/**'],
            assets: ['./build/**'],
          },
          release: {
            name: 'xx',
          },
          applicationKey: 'xx',
          errorHandler: (err) => {
            console.warn(err);
          }
       })

however, it is not debug mode

Image

Where in the product are you?

Issues - Source Maps

Link

No response

DSN

No response

Version

23.6.1

KobeZhou avatar May 24 '25 13:05 KobeZhou

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar May 24 '25 13:05 getsantry[bot]

Heya @ReneGreen27, we at self-hosted don't have any capacity to debug this, as we have limited knowledge on this. Please transfer this back to sentry repository, and assign the correct team. Thanks!

aldy505 avatar May 30 '25 02:05 aldy505

Hi @InterstellarStella can you please help transfer this back to sentry? Thank you!

aldy505 avatar Jun 05 '25 03:06 aldy505

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Jun 12 '25 10:06 getsantry[bot]

Routing to @getsentry/product-owners-issues-source-maps for triage ⏲️

getsantry[bot] avatar Jun 12 '25 10:06 getsantry[bot]

Hi, to confirm: your problem is that although you seem to correctly upload source maps, you don't get unminified stack traces?

Some things to try:

  • upgrade your self-hosted version. 23.6.1 is quite old by now. With newer versions, you should get an in-product modal next to your stack frames that can analyze some common reasons why source-mapping doesn't work
  • go through the troubleshooting documentation
  • check your Sentry server logs about any symbolication errors when receiving new errors

with the information at hand, I cannot diagnose this more specifically.

Lms24 avatar Jun 13 '25 12:06 Lms24

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Aug 13 '25 07:08 getsantry[bot]