kirancodes.me
To Proof Maintenance & Beyond!

RuntimeSearch: Ctrl+F for a running program

Matús Sulír, Jaroslav Porubän

Abstract

Developers often try to find occurrences of a certain term in a software system. Traditionally, a text search is limited to static source code files. In this paper, we introduce a simple approach, RuntimeSearch, where the given term is searched in the values of all string expressions in a running program. When a match is found, the program is paused and its runtime properties can be explored with a traditional debugger. The feasibility and usefulness of RuntimeSearch is demonstrated on a medium-sized Java project.

BibTeX
@inproceedings{Sulir-Porubaen:ASE17,
  author    = {Mat{\'{u}}s Sul{\'{\i}}r and
               Jaroslav Porub{\"{a}}n},
  title     = {{RuntimeSearch:} {Ctrl+F} for a running program},
  booktitle = {ASE},
  pages     = {388--393},
  publisher = {{IEEE} Computer Society},
  year      = {2017},
}

Related papers