If you launch a debug session for a Web object and the debugger cannot find source, you can edit the source lookup path. If the debugger finds more than one matching source file names, you can set the debugger to prompt you to choose source from a list of the matching source file names.
To edit the source lookup path while you are debugging, right-click the debug target, a thread, or stack frame in the Debug view and select Edit Source Lookup from the pop-up menu to open the Edit Source Lookup Path dialog box. By default, the source lookup path in this dialog box is derived from the associated project's build path. To change the Source Lookup Path, do the following:
When source cannot be found, the editor opens without source. In the editor, you can edit the source lookup path so that it points to the location of the source file. To edit the source lookup path, select the Edit Source Lookup Path push button. This will invoke the Edit Source Lookup Path dialog box. Instructions for using this dialog box are provided in the preceding section.
By default, the debugger will search for source until it reaches the first file name match that is found. If you want the debugger to search for all possible source file name matches, you must select the Search for duplicate source files on the path check box in the Edit Source Lookup Path dialog box.
If the debugger is set to search for all source file name matches, the Select Source File dialog box opens when multiple files are found. The dialog box displays a list of all files that are found, from which you can choose the correct source to display during the debug session.