Where the Analyzer Looks for Source Files

When you click the Source tab or the Disassembly tab, the Analyzer looks for the source file for the currently selected function. Because the source code might be in a different location from where it was when the program was compiled, the Analyzer examines the following locations in turn, and stops when it finds a file of the given basename.

  1. The archive directories of experiments.
  2. The current working directory.
  3. The absolute pathname as recorded in the executables or compilation objects.

If you have moved the source files, or if the experiment was recorded on a different file system or a different machine, you can do one of the following to see the annotated source code.

If you copy the files, the Analyzer might display a warning message that the source files are newer than the executable. If you use the tar command and ensure that the last modified date is not changed, you should not see any warning messages.


Can't find what you are looking for? Submit your comments at http://www.sun.com/hwdocs/feedback.
Legal Notices