Navigating Strategies for Debugging WASM - Ashwin Kumar Uppala, GitHub & Shivay Lamba, Independent
Channel: CNCF [Cloud Native Computing Foundation]
Date: 2023-11-22

Don't miss out! Join us at our next Flagship Conference: KubeCon + CloudNativeCon Europe in Paris from March 19-22, 2024. Connect with our current graduated, incubating, and sandbox projects as the community gathers to further the education and advancement of cloud native computing. Learn more at https://kubecon.io

Navigating Strategies for Debugging WASM - Ashwin Kumar Uppala, GitHub & Shivay Lamba, Independent

In the world of WebAssembly (WASM), debugging can often feel like navigating a complex maze. With current debugging tools falling short and the unique challenges posed by WASM, developers are in need of effective strategies and solutions. We will begin by discussing the current state of WASM debugging, drawing parallels with technologies like LLVM. We cover the approaches to enable debugging for WASM using open-source tools like Modsurfer while also proposing a compile-time debugging approach: A key part of the presentation will be the role of LLVM Intermediate Representation (IR) in the debugging process. We will explore how understanding the conversion of source code into LLVM IR and its subsequent stages can provide valuable insights for debugging WASM applications. Our goal is to equip developers with the knowledge and strategies they need to effectively debug their WASM applications.