debugger
A tool that runs your program under your control - pausing it partway through and showing the numbers it is working with.
A debugger (LLDB, GDB, the Visual Studio debugger, WinDbg) controls a process to set breakpoints, single-step instructions and inspect registers and memory.
See also