Holistic Debugging -- Enabling Instruction Set Simulation for Software Quality Assurance
Lars Albertsson · 2006
We present holistic debugging, a novel method for observing execution of complex and distributed software. It builds on an instruction set simulator, which provides reproducible experiments and non-intrusive probing of state in a distributed system. Instruction set simulators, however, only provide low-level information, so a holistic debugger contains a translation framework that maps this information to higher abstraction level observation tools, such as source code debuggers. We have created Nornir, a proof-of-concept holistic debugger, built on the simulator Simics. For each observed process in the simulated system, Nornir creates an abstraction translation stack, with virtual machine translators that map machine-level storage contents (e.g. physical memory, registers) provided by Simics, to application-level data (e.g. virtual memory contents) by parsing the data structures of operating systems and virtual machines. Nornir includes a modified version of the GNU debugger (GDB), which supports non-intrusive symbolic debugging of distributed applications. Nornir’s main interface is a debugger shepherd, a programmable interface that controls multiple debuggers, and allows users to coherently inspect the entire state of heterogeneous, distributed applications. It provides a robust observation platform for construction of new observation tools.
Cited by 8 works. doi:10.1109/mascots.2006.26
Authors
References
- Time, clocks, and the ordering of events in a distributed system
- Xen and the art of virtualization
- Personal communication
- Xen and the art of virtualization
- Simics: A full system simulation platform
- Complete computer system simulation: the SimOS approach
- Debugging Parallel Programs with Instant Replay
- Using the SimOS machine simulator to study complex computer systems
- Performance debugging for distributed systems of black boxes
- Using magpie for request extraction and workload modelling