Displaying the Source File

To display the source file:

  1. Select View > Source Files.

    The Source Files window appears, displaying a list of the project source files to be debugged.

  2. Double-click helloworld.c or helloworld.f90.

The Source window displays the source code and sets the scope appropriately.

To display the source file using the command line:

Enter the following command:

(idb) list main

The debugger displays the source code of the main function in helloworld.


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.