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

Allow JS stack traces for iOS projects #1688

Open
gtchance opened this issue Aug 12, 2024 · 3 comments
Open

Allow JS stack traces for iOS projects #1688

gtchance opened this issue Aug 12, 2024 · 3 comments
Labels
backlog We hope to fix this feature/bug in the future

Comments

@gtchance
Copy link

Description

We have an iOS project that makes use of shared JS code. We used to have a sort of hack for JS stack traces before attachCustomStacktrace was removed a few years ago.

attachCustomStacktrace(stackTrace, withType: "nodejs")

Is there another way to achieve JS stack traces for an iOS project without forking bugsnag-cocoa and exposing attachCustomStacktrace again?

@hannah-smartbear
Copy link

Hi @gtchance,

Just to clarify your question and understand what you are looking for, are you looking to report JS exceptions to your iOS project in BugSnag? If not, what sort of errors are you looking to attach the JS stacktrace to?

Can you let us know a little bit more about how your iOS project uses/integrates the shared JS code?

Please feel free to write in to us at support@bugsnag.com if you do not want to share these details about your project publicly.

@hannah-smartbear hannah-smartbear added the awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks. label Aug 19, 2024
@gtchance
Copy link
Author

Thanks @hannah-smartbear! I will email support with more details.

@mclack
Copy link

mclack commented Sep 16, 2024

Thanks for raising the support ticket with us, @gtchance

In the interest of visibility for other users, we have added a task to our backlog to publicly expose BugsnagStackframe properties, which would allow you to access and change stack frame properties such as file, columnNumber and lineNumber.

We do not have an ETA on when this might be implemented, but we will make sure to post any updates on this thread.

@mclack mclack added backlog We hope to fix this feature/bug in the future and removed awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks. labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future
Projects
None yet
Development

No branches or pull requests

3 participants