Dbux-PDG: An Interactive Program Dependency Graph for Data Structures and Algorithms

Dominik Seifert, Michael Wan, Jane Hsu, Benson Yeh

研究成果: 圖書/報告稿件的類型會議稿件同行評審

摘要

Understanding and debugging of data structures and algorithms (DSA) is one of the most common tasks in computer science. DSA tests have also become a standard threshold that software developers have to cross to "get the job". One major challenge in comprehending and debugging DSA implementations lies in establishing and maintaining mental models of the quintessentially complex and twisted networks of events that make up their dynamic runtime behavior. Despite the high level of difficulty of this crucial task, general purpose tools to help users understand or reason about DSA implementations still have very limited capabilities. In this work we present Dbux-PDG, a dynamic Program Dependency Graph extension for the Dbux omniscient debugger. It captures data and control flow, as well as data dependencies of a program's execution for visualization and user interaction. To deal with the immense complexity of non-trivial programs, it offers multiple layers of summarization, that allow the user to explore either the graph as a whole or in parts, one step at a time, as they see fit. We present our findings from applying Dbux-PDG to 94 diverse algorithms and explore its utility in several case studies. All visual results are made available in an online gallery. Dbux-PDG is open source and one-click installable, making it a powerful, easy-to-use tool prototype for DSA comprehension.Video URL: Https://youtu.be/dgXj3VoQJZQ

原文英語
主出版物標題Proceedings - 2022 Working Conference on Software Visualization, VISSOFT 2022
發行者Institute of Electrical and Electronics Engineers Inc.
頁面141-151
頁數11
ISBN(電子)9781665480925
DOIs
出版狀態已出版 - 2022
對外發佈
事件2022 Working Conference on Software Visualization, VISSOFT 2022 - Limassol, 塞浦路斯
持續時間: 02 10 202207 10 2022

出版系列

名字Proceedings - 2022 Working Conference on Software Visualization, VISSOFT 2022

Conference

Conference2022 Working Conference on Software Visualization, VISSOFT 2022
國家/地區塞浦路斯
城市Limassol
期間02/10/2207/10/22

文獻附註

Publisher Copyright:
© 2022 IEEE.

指紋

深入研究「Dbux-PDG: An Interactive Program Dependency Graph for Data Structures and Algorithms」主題。共同形成了獨特的指紋。

引用此