Augmenting Code with In Situ Visualizations to Aid Program Understanding

Interactive Data VisualizationKnowledge Worker Tools & WorkflowsSoftware Engineers & DevelopersHCI Researchers

Programmers must draw explicit connections between their code and runtime state to properly assess the correctness of their programs. However, debugging tools often decouple the program state from the source code and require explicitly invoked views to bridge the rift between program editing and program understanding. To unobtrusively reveal runtime behavior during both normal execution and debugging, we contribute techniques for visualizing program variables directly within the source code. We describe a design space and placement criteria for embedded visualizations. We evaluate our in situ visualizations in an editor for the Vega visualization grammar. Compared to a baseline development environment, novice Vega users improve their overall task grade by about 2 points when using the in situ visualizations and exhibit significant positive effects on their self-reported speed and accuracy.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/8134/2018

AdRecommended

Learn AI Coding at CodeNow

At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2018
emoji_events
Award
No award tagged
group
Authors
3 authors
sell
Subtopics
Interactive Data Visualization, Knowledge Worker Tools & Workflows
work
Professions
Software Engineers & Developers, HCI Researchers
article
Content Status
Abstract only
hub
Related Papers
10 related papers