Giter Club home page Giter Club logo

Comments (7)

buenaflor avatar buenaflor commented on May 29, 2024 1

@alexwhb I see - good to know! Feel free to write any further feedback, we really appreciate it!

from sentry-kotlin-multiplatform.

buenaflor avatar buenaflor commented on May 29, 2024

Hi, if you use cocoapods you shouldn't need isStatic to symbolicate your stacktraces, if you're unsure about the setup you could take a look at the samples. The only time isStatic is necessary would be if you're using SPM to include the Sentry dependency (at least for now) instead of cocoapods.

Maybe you did already but did you go through the uploading debug symbols steps?

from sentry-kotlin-multiplatform.

alexwhb avatar alexwhb commented on May 29, 2024

@buenaflor That's great to know. Thank you so much.

I have uploaded my debug symbols, but with no success all I see are the standard stack frames with no source mapping on iOS unless I change my library to static then I weirdly do see the mapping. I'm kinda thinking it's either a gradle issue on my end or maybe I'm not uploading the correct dSYM file when generating the dynamic framework. I'll take a look at the sample and see if something becomes obvious that i missed.

Thanks so much for your response.

here's an example of what I mean by mapping. This comes from a build that I generated the static framework for. Notice the kotlin file and line number. I get the same stack frame with the dynamic library, just without the kotlin file name and line number reference.
Screenshot 2023-07-13 at 3 47 53 PM

from sentry-kotlin-multiplatform.

buenaflor avatar buenaflor commented on May 29, 2024

Hm, that's odd. Is that reproducible on your https://github.com/alexwhb/Sentry-KMM-Bug repo as well?

from sentry-kotlin-multiplatform.

alexwhb avatar alexwhb commented on May 29, 2024

@buenaflor Good question. I'll give that a test today and let you know. 👍

from sentry-kotlin-multiplatform.

alexwhb avatar alexwhb commented on May 29, 2024

@buenaflor I figured it out! I was missing --include-sources flag in my sentry-cli debug-files upload. Now it's working for my dynamic library too. 😄 Thanks for your help. So happy to have this system working well at last. 😄

from sentry-kotlin-multiplatform.

kahest avatar kahest commented on May 29, 2024

Closing as resolved - you're still welcome to leave more feedback or insights :)

from sentry-kotlin-multiplatform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.