Abstract
With the advent of WebAssembly (Wasm), programming microcontrollers (MCUs) has become possible by leveraging on a wide range of languages (e.g., Rust, AssemblyScript, C, C#, Go, C++) that compile to Wasm. However, current WebAssembly debugging support is still in early development and is designed for applications running on desktop machines, making it too resource-intensive for MCUs. While DWARF and OpenOCD have facilitated language-agnsotic debugging for languages like Rust, Go, and C, these solutions are limited to languages that compile to native machine code and fail to target IoT systems. Consequently, IoT systems often undergo only partial debugging, increasing the likelihood of severe and frequent concurrency and communication bugs. In this position paper, we explore the challenges and issues associated with language-agnostic debugging. We identify several key requirements for effective language-agnostic debugging, such as the need for over-the-air debugging and the ability to perform distributed debugging operations. Additionally, we present an envisioned language-agnostic debugging approach based on WebAssembly, designed to support the debugging of large-scale distributed IoT systems.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 2nd ACM International Workshop on Future Debugging Techniques |
| Editors | Elisa Gonzalez Boix, Christophe Scholliers |
| Publisher | Association for Computing Machinery (ACM) |
| Pages | 22-27 |
| Number of pages | 6 |
| ISBN (Electronic) | 979-8-4007-1110-7 |
| DOIs | |
| Publication status | Published - 13 Sept 2024 |
| Event | Future Debugging Techniques - Vienna University of Technology, Vienna, Austria Duration: 19 Sept 2024 → 19 Sept 2024 https://conf.researchr.org/home/issta-ecoop-2024/debt-2024 |
Publication series
| Name | DEBT 2024 - Proceedings of the 2nd ACM International Workshop on Future Debugging Techniques, Co-located with: ISSTA 2024 |
|---|
Workshop
| Workshop | Future Debugging Techniques |
|---|---|
| Abbreviated title | DEBT |
| Country/Territory | Austria |
| City | Vienna |
| Period | 19/09/24 → 19/09/24 |
| Internet address |
Bibliographical note
Funding Information:We are very grateful for the financial support provided by the Fonds Wetenschappelijk Onderzoek - Vlaanderen - that helped finance PhD-SB fellow Carlos Rojas Castillo Project number: 1SHEU24N.
Publisher Copyright:
© 2024 Copyright held by the owner/author(s). Publication rights licensed to ACM.
Keywords
- MCU
- IoT
- VM
- WebAssembly
- embedded devices
Fingerprint
Dive into the research topics of 'Language-Agnostic Debugging for Microcontrollers'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver