Multiple source files with the same name but different paths are mishandled
|Reported by:||iandall||Owned by:||incastrix|
|Keywords:||non-unique filename instruction pointer||Cc:|
If you are remote debugging (xdebug) a project with (for example) files:
Then phpeclipse gets very confused about which file has the current instruction pointer in the editor pane. The debug backtrace shows the correct pathnames perfectly, so phpeclipse knows the correct path.
Double clicking on any lines in the backtrace which refer to one of the index.php files always switches to the first index.php opened. For any other files (which have unique file names within the project), double clicking the lines on the traceback works perfectly to open the correct file (if it is not already open) and display the instruction pointer position in it. Similarly stepping through calls to code in different files works correctly when the filenames are unique, but not if the filenames are the same.
It seems like somewhere a filename (or perhaps the tab name) is being compared, when the full path should be compared.
I am not sure if the same behaviour occurs with local debugging.