# Swarm Debugging: the Collective Intelligence on Interactive Debugging

**Authors:** Fabio Petrillo, Yann-Ga\"el Gu\'eh\'eneuc, Marcelo Pimenta, Carla Dal, Sasso Freitas, Foutse Khomh

arXiv: 1902.03520 · 2019-02-12

## TL;DR

This paper introduces Swarm Debugging, a collaborative approach to sharing and visualizing debugging information to enhance software debugging efficiency, supported by a new infrastructure and global view for developers.

## Contribution

It presents the Swarm Debugging Infrastructure and Global View, enabling collective sharing of debugging data and visual analysis of debugging sessions.

## Key findings

- Sharing debugging data supports debugging activities.
- Visualizing debugging paths aids understanding and collaboration.
- Large-scale study shows developers benefit from shared debugging information.

## Abstract

One of the most important tasks in software maintenance is debugging. To start an interactive debugging session, developers usually set breakpoints in an integrated development environment and navigate through different paths in their debuggers. We started our work by asking} what debugging information is useful to share among developers and study two pieces of information: breakpoints (and their locations) and sessions (debugging paths). To answer our question, we introduce the Swarm Debugging concept to frame the sharing of debugging information, the Swarm Debugging Infrastructure (SDI) with which practitioners and researchers can collect and share data about developers' interactive debugging sessions, and the Swarm Debugging Global View (GV) to display debugging paths. Using the SDI, we conducted a large study with professional developers to understand how developers set breakpoints. Using the GV, we also analyzed professional developers in two studies and collected data about their debugging sessions. Our observations and the answers to our research questions suggest that sharing and visualizing debugging data can support debugging activities.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1902.03520/full.md

## Figures

21 figures with captions in the complete paper: https://tomesphere.com/paper/1902.03520/full.md

## References

58 references — full list in the complete paper: https://tomesphere.com/paper/1902.03520/full.md

---
Source: https://tomesphere.com/paper/1902.03520