GDB, the GNU Project debugger, allows you to see what is going on ‘inside’ another program while it executes; or what another program was doing at the moment it crashed.
Source
This article is over 2 years old — the linked page may have changed, moved, or been taken over since then.