CrossCode: Multi-level Visualization of Program Execution
Devamardeep Hayatpur, Daniel Wigdor, Haijun Xia
摘要
Program visualizations help to form useful mental models of how programs work, and to reason and debug code. But these visualizations exist at a fixed level of abstraction, e.g., line-by-line. In contrast, programmers switch between many levels of abstraction when inspecting program behavior. Based on results from a formative study of hand-designed program visualizations, we designed CrossCode, a web-based program visualization system for JavaScript that leverages structural cues in syntax, control flow, and data flow to aggregate and navigate program execution across multiple levels of abstraction. In an exploratory qualitative study with experts, we found that CrossCode enabled participants to maintain a strong sense of place in program execution, was conducive to explaining program behavior, and helped track changes and updates to the program state.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- The Shapes of Abstraction in Data Structure Diagrams 引用了 Projection Boxes: On-the-fly Reconfigurable Visualization for Live Programming
- The Shapes of Abstraction in Data Structure Diagrams 引用了 How Domain Experts Create Conceptual Diagrams and Implications for Tool Design
- Malleable Overview-Detail Interfaces 引用了 Luminate: Structured Generation and Exploration of Design Space with Large Language Models for Human-AI Co-Creation
- Malleable Overview-Detail Interfaces 引用了 Graphologue: Exploring Large Language Model Responses with Interactive Diagrams
- Taking ASCII Drawings Seriously: How Programmers Diagram Code 引用了 Projection Boxes: On-the-fly Reconfigurable Visualization for Live Programming
引用它的顶会 Paper7
- Luminate: Structured Generation and Exploration of Design Space with Large Language Models for Human-AI Co-CreationSangho Suh, Meng Chen, Bryan Min, Toby Jia-Jun Li 等CHI 2024 · 143 次引用
- Graphologue: Exploring Large Language Model Responses with Interactive DiagramsPeiling Jiang, Jude Rayan, Steven P. Dow, Haijun XiaUIST 2023 · 135 次引用
- Malleable Overview-Detail InterfacesBryan Min, Allen Chen, Yining Cao, Haijun XiaCHI 2025 · 25 次引用
- The Shapes of Abstraction in Data Structure DiagramsDevamardeep Hayatpur, Brian Hempel, Richard Lin, Haijun XiaCHI 2025 · 7 次引用
- Taking ASCII Drawings Seriously: How Programmers Diagram CodeDevamardeep Hayatpur, Brian Hempel, Kathy Chen, William Duan 等CHI 2024 · 7 次引用
它引用的 Paper3
- Projection Boxes: On-the-fly Reconfigurable Visualization for Live ProgrammingSorin LernerCHI 2020 · 52 次引用
- How Domain Experts Create Conceptual Diagrams and Implications for Tool DesignDor Ma'ayan, Wode Ni, Katherine Ye, Chinmay Kulkarni 等CHI 2020 · 19 次引用
- The Role of Working Memory in Program TracingWill Crichton, Maneesh Agrawala, Pat HanrahanCHI 2021 · 13 次引用
相关 Paper
- DrAsync: Identifying and Visualizing Anti-Patterns in Asynchronous JavaScriptAlexi Turcotte, Michael D. Shah, Mark W. Aldrich, Frank TipICSE 2022 · 5 次引用
- Developers' Visuo-spatial Mental Model and Program ComprehensionAbir Bouraffa, Gian-Luca Fuhrmann, Walid MaalejICSE 2023 · 1 次引用
- CPVis: Evidence-based Multimodal Learning Analytics for Evaluation in Collaborative ProgrammingGefei Zhang, Shenming Ji, Yicao Li, Jingwei Tang 等CHI 2025 · 8 次引用
- CoLadder: Manipulating Code Generation via Multi-Level BlocksRyan Yen, Jiawen Stefanie Zhu, Sangho Suh, Haijun Xia 等UIST 2024 · 22 次引用
- CodeStream: Augmenting Timelines with Code Annotation for Navigating Large Coding HistoriesAshley Ge Zhang, Yan-Ru Jhou, Yinuo Yang, Shamita Rao 等CHI 2026 · 1 次引用
