Sun Studio 12 Update 1: Debugging a Program With dbx

Printing a Source Listing

Use the list command to print the source listing for a file or function. Once you navigate through a file, the list command prints number lines from the top. Once you navigate through a function, the list command prints its lines.

For detailed information on the list command, see list Command.