Debug canvaskit.wasm in google-chrome

200 views
Skip to first unread message

Nirmit Dalal

unread,
May 4, 2021, 4:04:20 PM5/4/21
to skia-discuss
Hi Team ...
Is there a way that I can step debug canvaskit.wasm file using the google-chrome? 

I tried "make debug", but it does not work. 

kjlu...@google.com

unread,
May 19, 2021, 11:22:28 AM5/19/21
to skia-discuss
I've had success stepping into the C++ of CanvasKit using https://developer.chrome.com/blog/wasm-debugging-2020/

Of note, it appears to work fine on chrome stable (no need for a canary build). So install the Chrome extension, enable the experimental flag in DevTools and you should be good to go.
Reply all
Reply to author
Forward
0 new messages