Debugging a Program With dbx

Visiting a File

You can visit any file dbx recognizes as part of the program (even if a module or file was not compiled with the -g option.) Visiting a file does not change the current function. To visit a file:


pathmap [-c] filename

Using the file command by itself echoes the file you are currently visiting:


file

dbx displays the file from its first line unless you specify a line number:


file filename ; list line_number