Select View->Change text file to view a different source file. Sometimes the debugger locates the wrong source file for your program. Change Text File lets you specify the correct source file and directory for the source file.
In the dialog that appears, enter the path and name of the source file you want, or select File List to navigate through your directories and choose a file from that list.
Note: Change Text File does not open a new Source window or change the executable being debugged. If you enter the wrong file name, you may still be able to set breakpoints, issue step commands, and see the debugger moving the current line. However, the debugger's behavior is related to the current object file, not to the current source file, and so this behavior may seem out of sync with the source file. If you want to debug a different object file within the same program, do not use this menu item; select File->Open New Source instead. To stop debugging one program and start debugging another, choose File->Startup.