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)
Which SDK are you using?
@sentry/browser
SDK Version
7.79.0
Framework Version
@sentry/wasm (7.77.0)
Link to Sentry event
SDK Setup
Sentry.init({
dsn: "my-dns",
integrations: [new WasmIntegration()],
});
Steps to Reproduce
I'm using MacOS and sentry-cli 2.21.2
and wasm-split 23.10.1
I'm trying to use Sentry with WebAssembly and c++
native code. I did everything like you said in tutorial.
- I have
.wasm
binary compiled withemcc
- I added build id to my binary and created file with debug info with
wasm-split
wasm-split main.wasm -d main.debug.wasm --strip
- And finally I upload debug info to sentry:
sentry-cli debug-files upload -t wasm -o <org> -p <project> main.debug.wasm
Then I force my native code to invoke runtime error.
I can see event is registered in my Sentry's project.
Expected Result
I can see call stack but only with functions names.
I believe that I should see also file names and line numbers etc in that call stack but I don't.
I far as I know I should also see section Loaded Images
in my event, with id which was embedded with wasm-split but I also don't.
Actual Result
What I noticed and I think that may be an issue wasm-split
displays ID added, but during uploading debug info to sentry with sentry-cli
this ID is always modified with the same pattern.
ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
is transformed into: 10xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(adds prefix 10
and cuts last two signs).
I wonder if that is the problem why my event isn't connected with its debug info I uploaded?
Or if it (changing id) is expected behaviour what else can be the problem?
Thanks a lot for any help!
Metadata
Metadata
Assignees
Type
Projects
Status