Running RNSkia with canvaskit debug build? #3108
jack-beanstalk-2022
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered an abort() from canvaskit from time to time on a web application. The one that ships with RNSkia is a release build so the stack trace is hard to debug.

I tried downloading Skia, make a debug build (cd module/canvaskit && compile.sh debug_build) and copy canvaskit.js + canvaskit.wasm into /node_modules/canvaskit-wasm/bin/full. It does appear to replace the release build but it demonstrates some weird behavior.
Has anyone tried this before or have a better way of exposing debug info from canvaskit?
Beta Was this translation helpful? Give feedback.
All reactions