Skip to main navigation Skip to search Skip to main content

Language-Agnostic Debugging for Microcontrollers

Research output: Chapter in Book/Report/Conference proceedingConference paper

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 languageEnglish
Title of host publicationProceedings of the 2nd ACM International Workshop on Future Debugging Techniques
EditorsElisa Gonzalez Boix, Christophe Scholliers
PublisherAssociation for Computing Machinery (ACM)
Pages22-27
Number of pages6
ISBN (Electronic)979-8-4007-1110-7
DOIs
Publication statusPublished - 13 Sept 2024
EventFuture Debugging Techniques - Vienna University of Technology, Vienna, Austria
Duration: 19 Sept 202419 Sept 2024
https://conf.researchr.org/home/issta-ecoop-2024/debt-2024

Publication series

NameDEBT 2024 - Proceedings of the 2nd ACM International Workshop on Future Debugging Techniques, Co-located with: ISSTA 2024

Workshop

WorkshopFuture Debugging Techniques
Abbreviated titleDEBT
Country/TerritoryAustria
CityVienna
Period19/09/2419/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