Inline Visualization and Manipulation of Real-Time Hardware Log for Supporting Debugging of Embedded Programs

Q1 Social Sciences
Andrea Bianchi, Zhi Lin Yap, Punn Lertjaturaphat, Austin Z. Henley, K. Moon, Yoonji Kim
{"title":"Inline Visualization and Manipulation of Real-Time Hardware Log for Supporting Debugging of Embedded Programs","authors":"Andrea Bianchi, Zhi Lin Yap, Punn Lertjaturaphat, Austin Z. Henley, K. Moon, Yoonji Kim","doi":"10.1145/3660250","DOIUrl":null,"url":null,"abstract":"The advent of user-friendly embedded prototyping systems, exemplified by platforms like Arduino, has significantly democratized the creation of interactive devices that combine software programs with electronic hardware. This interconnection between hardware and software, however, makes the identification of bugs very difficult, as problems could be rooted in the program, in the circuit, or at their intersection. While there are tools to assist in identifying and resolving bugs, they typically require hardware instrumentation or visualizing logs in serial monitors. Based on the findings of a formative study, we designed Inline a programming tool that simplifies debugging of embedded systems by making explicit the internal state of the hardware and the program's execution flow using visualizations of the hardware logs directly within the user's code. The system's key characteristics are 1) an inline presentation of logs within the code, 2) real-time tracking of the execution flow, and 3) an expression language to manipulate and filter the logs. The paper presents the detailed implementation of the system and a study with twelve users, which demonstrates what features were adopted and how they were leveraged to complete debugging tasks.","PeriodicalId":36902,"journal":{"name":"Proceedings of the ACM on Human-Computer Interaction","volume":"11 37","pages":"1 - 26"},"PeriodicalIF":0.0000,"publicationDate":"2024-06-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ACM on Human-Computer Interaction","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3660250","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Social Sciences","Score":null,"Total":0}
引用次数: 0

Abstract

The advent of user-friendly embedded prototyping systems, exemplified by platforms like Arduino, has significantly democratized the creation of interactive devices that combine software programs with electronic hardware. This interconnection between hardware and software, however, makes the identification of bugs very difficult, as problems could be rooted in the program, in the circuit, or at their intersection. While there are tools to assist in identifying and resolving bugs, they typically require hardware instrumentation or visualizing logs in serial monitors. Based on the findings of a formative study, we designed Inline a programming tool that simplifies debugging of embedded systems by making explicit the internal state of the hardware and the program's execution flow using visualizations of the hardware logs directly within the user's code. The system's key characteristics are 1) an inline presentation of logs within the code, 2) real-time tracking of the execution flow, and 3) an expression language to manipulate and filter the logs. The paper presents the detailed implementation of the system and a study with twelve users, which demonstrates what features were adopted and how they were leveraged to complete debugging tasks.
支持嵌入式程序调试的实时硬件日志的内联可视化和操作
以 Arduino 等平台为代表的用户友好型嵌入式原型开发系统的出现,极大地推动了软件程序与电子硬件相结合的交互式设备创作的民主化。然而,硬件和软件之间的这种相互连接使得识别错误变得非常困难,因为问题可能根源于程序、电路或它们之间的交叉点。虽然有一些工具可以帮助识别和解决错误,但它们通常需要硬件仪器或串行监视器中的可视化日志。基于形成性研究的结果,我们设计了 Inline 编程工具,通过直接在用户的代码中使用可视化的硬件日志,明确显示硬件的内部状态和程序的执行流程,从而简化嵌入式系统的调试。该系统的主要特点是:1)在代码中内联显示日志;2)实时跟踪执行流程;3)使用表达式语言处理和过滤日志。论文介绍了系统的详细实现过程,并对 12 名用户进行了研究,展示了系统采用了哪些功能以及如何利用这些功能完成调试任务。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Proceedings of the ACM on Human-Computer Interaction
Proceedings of the ACM on Human-Computer Interaction Social Sciences-Social Sciences (miscellaneous)
CiteScore
5.90
自引率
0.00%
发文量
257
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信