Augmenting Source Code Lines with Sample Variable Values

06/19/2018
by   Matúš Sulír, et al.
0

Source code is inherently abstract, which makes it difficult to understand. Activities such as debugging can reveal concrete runtime details, including the values of variables. However, they require that a developer explicitly requests these data for a specific execution moment. We present a simple approach, RuntimeSamp, which collects sample variable values during normal executions of a program by a programmer. These values are then displayed in an ambient way at the end of each line in the source code editor. We discuss questions which should be answered for this approach to be usable in practice, such as how to efficiently record the values and when to display them. We provide partial answers to these questions and suggest future research directions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/18/2018

Integrating Runtime Values with Source Code to Facilitate Program Comprehension

An inherently abstract nature of source code makes programs difficult to...
research
12/09/2015

Yet Another Statistical Analysis of Bob Ross Paintings

In this paper, we analyze a sample of clippings from paintings by the la...
research
12/20/2022

Augmenting Diffs With Runtime Information

Source code diffs are used on a daily basis as part of code review, insp...
research
02/05/2023

LExecutor: Learning-Guided Execution

Executing code is essential for various program analysis tasks, e.g., to...
research
03/26/2018

Source Code Optimization using Equivalent Mutants

A mutant is a program obtained by syntactically modifying a program's so...
research
08/07/2021

Rethinking of AlphaStar

We present a different view for AlphaStar (AS), the program achieving Gr...
research
03/02/2018

Next Steps for the Colorado Risk-Limiting Audit (CORLA) Program

Colorado conducted risk-limiting tabulation audits (RLAs) across the sta...

Please sign up or login with your details

Forgot password? Click here to reset