Examine The Source Code
Originally written by
- 'list' shows a part of the "currently selected source file".
- Whenever the debugger stops, the currently-executing function will become
the "currently selected source file".
- another 'list' will show the next lines from the source.
- ...'list <line number>' will show the source around the given line
number in the current file.
- 'list <function>' will show the source of the given function (and
make it the "current source").